--- title: "system.util.getLocale" description: "Returns the current string representing the user's Locale, such as 'en' for English." --- # system.util.getLocale > Returns the current string representing the user's Locale, such as 'en' for English. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](projects\project-properties\project-properties.md#client---permissions) restrictions. ## Syntax `system.util.getLocale()` ### Parameters None ### Returns **String** - The current user's Locale. ### Scope All ## Code Examples ```python title="Example #1" # print a test if they are using English locale = system.util.getLocale() if locale == "en": print "Using English" ```