Returns the current string representing the user's Locale, such as 'en' for English.


system.util.getLocale()

  • Parameters

None

  • Returns

String - String representing the user's Locale, such as 'en' for English.

  • Scope

Vision Client

# Print a test if they are using English.
locale = system.util.getLocale()
if locale == "en":
	print "Using English" 

system util getLocale, util.getLocale