Defines or identifies the language of the framework.
// 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: | |
nationEnglish | Framework in English. |
nationFrench | Framework in French. |
nationSpanish | Framework in Spanish. |
Change language of the framework Hide the details
<Result> = NationFramework([<New language>])
<Result>: Integer constant
Current language of the framework: | |
nationEnglish | Framework in English. |
nationFrench | Framework in French. |
nationSpanish | Framework in Spanish. |
<New language>: Integer constant
Language to use for the framework: | |
nationEnglish | Framework in English. |
nationFrench | Framework in French. |
nationSpanish | Framework in Spanish. |
Remark: If another language is specified, the actual language used will be English or French.
Business / UI classification: Neutral code