info("languagecode")
info("languagecode")

The info(“languagecode”) function returns the language code for the current location.

Description

This function returns the language code for the current location. This is a two letter code, for example en, fr, de etc. The result of this function will immediately reflect any changes made in the System Preferences Language & Region panel.

    info("languagecode") ☞ en

See Also

- info("countrycode") -- returns the country code for the current location.
- info("currencycode") -- returns the currency code for the current location.
- info("currencysymbol") -- returns the currency symbol for the current location.
- info("decimalseparator") -- returns the current decimal separator character (period or comma).
- info("measurementsystem") -- returns the measurement system for the current location.
- info("thousandsseparator") -- returns the current thousands separator character (period or comma).

History

Version | Status | Notes
10.0 | New | New in this version.