Description
Returns a character string (normally 3 letters) corresponding to the current Operating System regional settings. This string is the same as the extension on the language-specific resource files.
Syntax
languagename = GetLanguageName()
Returns
A string representing the language name corresponding to the current Operating System regional settings.
Language | Description |
---|---|
ENU | English (US) |
FRA | French (France) |
DEU | German (Germany) |
ITA | Italian (Italy) |
ESN | Spanish (Spain - Modern [International sort]) |
Example
/* after the call to GetLanguageName(), language will be assigned the value of the current language setting */ declare function GetLanguageName language = GetLanguageName()