GetLanguageInfo -- get information about language (V7.1)
t = GetLanguageInfo(lang)
This function can be used to retrieve additional information about a language.
You have to pass one of Hollywood's language constants in the
See GetSystemLanguage for a list of languages.
GetLanguageInfo() will then return a table with the following fields
Two letter language code as defined by ISO 639.
The language's ISO name.
- one of the language constants defined by Hollywood (see above)
- table containing language information
t = GetLanguageInfo(GetSystemLanguage())
On a German system, this will print "DE" and "german".