system.util.setLocale

Description

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.

Syntax

system.util. setLocale( locale )

  • Parameters

String locale - A locale code, such as 'en_US' for US English.

  • Returns

nothing

  • Scope

Client

Code Examples

There are no examples associated with this scripting function.