.setLocale()
(Last Updated On: March 10, 2017)
Overview

Allows you to set SnapEngage to use a different language than the one you have set up in your Configurator.

* IMPORTANT NOTE: In order to use the .setLocale() Function, you must go to your “Style” ¬†or “Design Studio” tab, and under “Select your Language” you must choose “* Use .setLocale() API”
useSetLocaleAPI


Parameters


language-code
Type
String | (Required)
Examples: SnapEngage.setLocale(“en”) for English, and SnapEngage.setLocale(“de”) for German
Description
Set the locale manually using one of the available languages listed below.
Values
Language value
Arabic ar
Azerbaijini az
Chinese (Simplified) zh
Chinese (Traditional) zh_TW
Czech cs
Danish da
Dutch nl
English en
Estonian et
Finnish fi
French fr
French (Canadian) fr_CA
German de
Hebrew rw
Hungarian hu
Icelandic is
Italian it
Japanese ja
Korean ko
Latvian lv
Lithuanian lt
Norwegian nb
Norwegian nn
Polish pl
Portuguese pt
Russian ru
Romanian ro
Slovak sk
Spanish es
Swedish sv
Turkish tr