GetLocaleInfo
Last updated
Was this helpful?
Last updated
Was this helpful?
Retrieves a struct containin info on a locale, with an optional display locale
locale
string
false
Optional locale to retrieve information on - either a common format ( "German" ), or an ISO Directive
dspLocale
string
false
Optional display language locale
Result: { country : "US", iso : { country : "USA", language : "eng" }, display : { country : "United States", language : "English" }, language : "en", name : "English (United States)", variant : "" }
Outputs the language locale of the page in German.
Result: Englisch
Outputs the German locale in the language defined for the page.
Result: Germany