Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Scripting_function


Panel
titleDescription

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

Client permissions restrictions


Panel
titleSyntax

system.util.getLocale()

  • Parameters

NothingNone

  • Returns

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

  • Scope

Vision Client

Panel
titleCode Examples
Code Block
languagepy
titleCode Snippet
# Print a test if they are using English.
locale = system.util.getLocale()
if locale == "en":
	print "Using English" 
Panel
titleKeywords

system util getLocale, util.getLocale