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
Returns the nation corresponding to a language.
Example
// Find out the nation corresponding
// to the Armenian language
ResNation is int
ResNation = LanguageToNation(languageArmenian)
SWITCH ResNation
CASE nationGerman:
 ...
CASE nationAustralian:
 ...
CASE 0:
 ...
END
// Find out the nation corresponding
// to the English language in Australia
ResNation is int
ResNation = LanguageToNation(languageEnglish, 3)
SWITCH ResNation
CASE nationEnglish:
 ...
CASE nationAustralian:
 ...
CASE 0:
 ...
END
Syntax
<Result> = LanguageToNation(<Language> [, <Sub-language>])
<Result>: Integer constant
  • Nation corresponding to the specified language,
  • 0 if no nation corresponds to the specified language.
For more details on these constants, see Correspondence between languages, sub-languages, character sets and nations.
<Language>: Integer constant
Language whose nation is requested. For more details on these constants, see Correspondence between languages, sub-languages, character sets and nations.
<Sub-language>: Optional integer
Sub-language whose nation is requested. For more details on sub-languages, see Correspondence between languages, sub-languages, character sets and nations.
If this parameter is not specified, the standard nation of the specified <Language> is returned.
Component: wd290vm.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help