PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Functions for managing the multilingual feature
The following functions are used to manage the multilingual features:
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).
ChangeKeyboardFinds out and/or modifies 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 in memory the file containing the error messages in the requested language.
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.
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 required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment