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
NationFramework (Function)
In french: NationFramework
Defines or identifies the language of the framework.
Example
// Forces the framework in English
NationFramework(nationEnglish)
// Trinidad and Tobago in English and French
MyCountry is Country = CountryGet("TT")
// Display country in English
Trace(MyCountry..Name) // Trinidad and Tobago
// Display country in French
// Change framework language
NationFramework(nationEnglish)
Trace(MyCountry..Name) // Trinité-et-Tobago
Syntax

Finding out the current language of the framework Hide the details

<Result> = NationFramework()
<Result>: Integer constant
Current language of the framework:
nationEnglishFramework in English.
nationSpanishFramework in Spanish.
nationFrenchFramework in French.

Change language of the framework Hide the details

<Result> = NationFramework([<New language>])
<Result>: Integer constant
Current language of the framework:
nationEnglishFramework in English.
nationSpanishFramework in Spanish.
nationFrenchFramework in French.
<New language>: Integer constant
Language to use for the framework:
nationEnglishFramework in English.
nationSpanishFramework in Spanish.
nationFrenchFramework in French.
Remark: If another language is specified, the actual language used will be English or French.
Business / UI classification : Neutral code
Component : wd250vm.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment