userLocale

userLocale

 

Syntax

userLocale(user)

Package

 

Alias

 

Pkg Usage

 

Description

Returns the locale for a user.

Parameters

Parameter name

Type

Required

Description

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

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.