<<

Contents

Search

>>

 

GET_LOCALE$

 

 

Function

 

 

Syntax:

GET_LOCALE$

 

Meaning:

Returns the current language and country.

 

GET_LOCALE$ returns language and country separated by commas.

 

Examples for language codes:

de          German

en          English

it            Italien

fr           French

es          Spanish

ja           Japanese

 

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

 

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 at http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html

 

Sample:

LANGUAGE$ = SUBSTR$(GET_LOCALE$,",",1)

COUNTRY$ = SUBSTR$(GET_LOCALE$,",",2)

 

See also:

SET_LOCALE