PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
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.
See Correspondence between languages, sub-languages, character sets and nations for more details.
<Language>: Integer constant
Language whose nation is requested. See Correspondence between languages, sub-languages, character sets and nations for more details.
<Sub-language>: Optional integer
Sub-language whose nation is requested. See Correspondence between languages, sub-languages, character sets and nations for more details.
If this parameter is not specified, the standard nation of the specified <Language> is returned.
Component : wd250vm.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment