Skip to end of banner
Go to start of banner

userLocale

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Availability

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

Syntax

userLanguage(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. en|US

See also

  • No labels