|
|
|
|
Functions for managing multiple languages
The following functions are used to manage multilingual applications:
| | ChangeCharset | Retrieves and/or changes the character set used:- by all the screen fonts.
- by all the operations performed on the character strings (functions and/or operators).
| ChangeKeyboard | Gets or sets the language associated with the keyboard. | ChangeSeparator | Changes the value of the separators (decimal separator or thousand separator) used in the numeric masks for internationalization. | LanguageToCharset | Returns the character set corresponding to a language. | LanguageToName | Returns the name of a language. | LanguageToNation | Returns the nation corresponding to a language. | LoadError | Loads the file containing the error messages in the desired language into memory. | MessTranslate | Retrieves a message found in the code of a program in the current language. | Nation | Defines or identifies the display language (captions, messages, ...) used for the windows, pages, reports and controls. | NationFramework | Defines or identifies the language of the framework. | NationRightToLeft | Allows you to find out whether the current language is written from right to left. | NationToLanguage | Returns the language corresponding to a nation. | NationToName | Returns the name of the language corresponding to a nation. | NationToSubLanguage | Returns the default sub-language corresponding to a nation. |
Related Examples:
|
Training (WINDEV): WD ChainedList
[ + ] This example supplies the tools required to build chained lists (simple sequencing). This type of list is used to store and browse a set of values in an organized way. In the example, a chained list is used to store buttons. - The list is then used to hide/move the buttons in the screen, creating a dynamic menu (Sidebar). - The list is also used to translate the buttons without having to reload the window. To do so, the French caption and the English caption are stored for each button. The advantage of this method is to keep the status of the window, especially the menu in its drop-down aspect, the information text, and so on. Specific feature of this example: - this example is a multilingual example (French/English).
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|