ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Multilingual functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Functions for managing multiple languages
The following functions are used to manage multilingual applications:
ChangeCharsetRetrieves 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).
ChangeKeyboardGets or sets the language associated with the keyboard.
ChangeSeparatorChanges the value of the separators (decimal separator or thousand separator) used in the numeric masks for internationalization.
LanguageToCharsetReturns the character set corresponding to a language.
LanguageToNameReturns the name of a language.
LanguageToNationReturns the nation corresponding to a language.
LoadErrorLoads the file containing the error messages in the desired language into memory.
MessTranslateRetrieves a message found in the code of a program in the current language.
NationDefines or identifies the display language (captions, messages, ...) used for the windows, pages, reports and controls.
NationFrameworkDefines or identifies the language of the framework.
NationRightToLeftAllows you to find out whether the current language is written from right to left.
NationToLanguageReturns the language corresponding to a nation.
NationToNameReturns the name of the language corresponding to a nation.
NationToSubLanguageReturns the default sub-language corresponding to a nation.
Related Examples:
WD ChainedList 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).
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help