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


History

VersionStatusNotes
10.0NewNew in this version.