<<

Contents

Search

>>

 

SET_LOCALE

 

 

Instruction

 

 

Syntax:

SET_LOCALE = <Language>,<Country>

 

<Language>

= <STRING-EXPRESSION>

<Country>

= <STRING-EXPRESSION>

 

 

Meaning:

Selects the current language and country of the program.

 

<LANGUAGE> must contain a valid language code.

 

Examples for language codes:

de            German

en            English

it               Italien

fr              French

es             Spanish

ja             Japanese

 

The complete list of language codes can be found under http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt.

 

<COUNTRY> must contain a valid country code or the empty string "".

 

Examples for country codes:

DE          Germany

GB          England

IT            Italy

FR           France

ES           Spain

JP            Japan

US          USA

 

The complete list of country codes can be found under http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html.

 

SET_LOCALE has the effect that from the moment that this instruction is executed all texts of masks, reports and macros are translated based on the language file. This does not include constants that had been initialised at the start of the program or used before the instruction was executed.

 

The texts are only translated if the option Create Language File was set with the generation of the program.

 

Parameter:

Language

Language code

Country

Country code

 

Sample:

SET_LOCALE = "en","US"

 

See also:

GET_LOCALE$

ENABLE / DISABLE MULTILANGUAGES

Configuration mask