Platform Package reference: Function EwSetLanguage()

Description of the function EwSetLanguage() available in all Platform Packages for C compatible target systems. This function is intended to be used when integrating the Embedded Wizard created GUI application with the underlying graphics subsystem, graphics hardware or other external GUI applications coexisting on the same system.

Declaration

void EwSetLanguage( XLangId aLangId )

Parameters

aLangId

The name of the desired language to activate. The name corresponds to the name of the affected language member.

Discussion

The function EwSetLanguage() changes the currently selected language to the value aLangId. To select the default language pass 0 (zero) in the argument to this function.

This operation corresponds to the modification of the Chora built-in variable language. Generally, the alternation of the language affects the selection of multi-lingual localized constants and resources.