Loading...
Area: Optimizely Campaign
Applies to versions: Not applicable

getLocale

Recommended reading 

Queries the locale of a session in Optimizely Campaign.

Type: String

Parameters

Name Type Value

sessionId

String

ID of the session

Return values

Valid ISO language code (ISO-639)

See: http://www.loc.gov/standards/iso639-2/php/code_list.php.

Code structure

String getLocale(String sessionId)
Do you find this information helpful? Please log in to provide feedback.

Last updated: Apr 25, 2018

Recommended reading