Platform Package reference: Function EwSetLanguage()

Description of the function EwSetLanguage() available in all Platform Packages for ANSI 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.


void EwSetLanguage( XLangId aLangId )



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


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.