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
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.
nationFrenchFramework in French.
nationSpanishFramework in Spanish.

Change language of the framework Hide the details

<Result> = NationFramework([<New language>])
<Result>: Integer constant
Current language of the framework:
nationEnglishFramework in English.
nationFrenchFramework in French.
nationSpanishFramework in Spanish.
<New language>: Integer constant
Language to use for the framework:
nationEnglishFramework in English.
nationFrenchFramework in French.
nationSpanishFramework in Spanish.

Remark: If another language is specified, the actual language used will be English or French.
Business / UI classification: Neutral code
Component: wd290vm.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help