userLocale

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Availability

  • This routine is available starting with SIL Engine™ 4.5.8.

Syntax

userLocale(user)

Description

Returns the locale for a user.

Parameters

Parameter name

Type

Required

Description

user

string

Yes

Username or key of the user.

Return type

string

The return value represents the language code and the country code for the specified user.

Example

userLocale("admin");

Returns: The language of admin. (E.g: en_US)

See also