How to set up language support in a CWT is summarized below.
User interface
All user interface component texts that are to be translated should be given key values instead of static texts. The key value is then used to alter the text depending on the currently selected language.
Translations
The different texts for each language are defined in the translation.xml file, see Translation.
Selectable languages
The selectable languages are defined by language codes in the cwtconfig.xml, file. See CWT System Configuration Handbook.
Selecting language in the user interface
To select a different language code there are a group of button click functions with names starting with “OnLanguage…” for further details see Button click-function.
Font
If the different translated text strings in the file translation.xml and/or fonts specified in the in user interface requires special fonts that are not pre-installed in CWT, then new fonts can be installed. See Fonts
Complex language script
If typographically complex language scripts are used the processing tool Uniscribe has to be switched ON. This is done in the renderGraphics property in the Core section of the cwtconfig.xml file, see CWT System Configuration Handbook.