GETLOCALE
SETLOCALE localeID
Description
GETLOCALE eturns the current Locale ID. A locale ID determines such things as keyboard layout, alphabetic sort order, date, time number and currency formats.
SETLOCALE sets the locale to localeID. LocaleID can either be a number or a short string that uniquely identifies a geographical locale. The function returns the old setting of locale ID. Setting localeID to 0 will set the locale ID to the current system setting. There is a complete set of Locale IDs here:
Some common ones are:
|
1031 |
de-de |
German – Germany |
|
1033 |
en-us |
English – United States |
|
1041 |
ja |
Japanese |
|
2057 |
en-uk |
English - UK |
Example
PRINT getLocal
original=SETLOCALE("en-gb") 'Set for England
PRINT original, getlocale
Output
1033
1033 2057
Related Items
SETLOCALE, GETLOCALE