Sets the user's current locale. Any valid Java locale code (case-insensitive) can be used as a parameter, including ones that have not yet been added to the Translation Manager. An invalid locale code will cause an Illegal Argument Exception.

This scripting function has no Client Permission restrictions.


  • Parameters

Object locale - A locale code, such as "en_US" for US English, or a java.util.Locale object.

  • Returns


  • Scope

Vision Client

# This script will set the client locale to Arabic.

system util setLocale, util.setLocale