sys.language readonly property

Get the full localized name of the current locale as a string, for example "english (United States)"

  • The value returned depends on the current sys.localeproperty.

Example

print("Current user locale is "..sys.locale) print("Current user language is "..sys.language)