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

setLocale

Recommended reading 

Defines the locale for a session in Optimizely Campaign.

Type: void

Parameters

Name Type Value

sessionId

String

ID of the session

locale

String

A valid ISO language code (ISO-639)

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

Return values

 -

Code structure

void setLocale(String sessionId, String locale)
Do you find this information helpful? Please log in to provide feedback.

Last updated: Apr 25, 2018

Recommended reading