The language element is instrumental for finding or setting the language the running program is working with. The Peter application enables to generate multilingual programs. When entering texts (element descriptions or text variable services) these text are valid for the language to which the Peter application is switched. By switching over the language, the texts, too are switched to the relevant language. When starting a program that language is switched on that corresponds to the current Windows system setting ("local setting") or that corresponds to the language currently used by the Peter application, if the program has been started from the Peter application environment. The texts written by the program are used according to the language to which the program is switched. If there are no texts available for the currently set language, texts for the nearest language are used.
A language is specified in the numeric LANGID code (used in the Windows system):
By setting to 0 the default language is selected (the real language code being returned).
By setting an language the character set
of the texts displayed is changed, too.
Full Html Context Help of The Peter - Gemtree Software & Children Programming