PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Connaître la nation correspondant
// à la langue arménienne
ResNation is int
ResNation = LanguageToNation(languageArmenian)
SWITCH ResNation
CASE nationGerman:
 ...
CASE nationAustralian:
 ...
CASE 0:
 ...
END
// Connaître la nation correspondant
// à la langue anglaise en Australie
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, sublanguages, character sets and nations.
<Language>: Integer constant
Language whose nation is requested. For more details on these constants, see Correspondence between languages, sublanguages, character sets and nations.
<Sub-language>: Optional integer
Sub-language whose nation is requested. For more details on these sub-languages, see Correspondence between languages, sublanguages, character sets and nations.
If this parameter is not specified, the standard nation of the specified <Language> is returned.
Component: wd270vm.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment