Top
Set App Locale
  • 24 Jul 2025
  • 1 Minute To Read
  • Dark
    Light
  • PDF

Set App Locale

  • Dark
    Light
  • PDF

Article summary

Whatfix Mobile supports multilingual experiences. It also enables you to set an app locale using the locale code, which automatically launches the experience in that specific language without requesting your end users to select the language. 

The following table shows the languages supported by Whatfix Mobile, along with their corresponding language codes:

Whatfix Mobile follows the ISO 639-2 representation of locale code. The code is a 3-letter code representation of the language.

Info:

For more information on the ISO 639-2 representation, see List of ISO 639-2 codes.

Language

ISO 639-2 Code

Arabic

ara

Assamese

asm

Bengali

ben

Chinese (Simplified)

chi

Chinese (Traditional)

zho

Burmese

bur

Czech

cze

English

ang

English-US

ang-us

French

fra

French-Canada

fr-ca

German

deu

Gujarati

guj

Hebrew

heb

Hindi

hin

Indonesian

ind

Italian

ita

Japanese

jpn

Kannada

kan

Kazakh

kaz

Korean

kor

Lao

lao

Malay

may

Malayalam

mal

Marathi

mar

Mongolian

mon

Punjabi

pan

Polish

pol

Portuguese

por

Romanian

ron

Russian

rus

Sinhala

sin

Slovenian

slv

Spanish

spa

Tamil

tam

Telugu

tel

Thai

tha

Turkish

tur

Vietnamese

vie

Use the following code snippet to set the app locale:

Android

Leap.setAppLocale("<code_you_want_to_use>");

iOS-Swift

Leap.shared.setAppLocale("<code_you_want_to_use>")

Flutter

LeapAui.setAppLocale("<code_you_want_to_use>");

MAUI

Leap.SetAppLocale("eng");

Jetpack

Leap.setAppLocale("<code_you_want_to_use>");

Xamarin (Android)

Leap.SetAppLocale("<code_you_want_to_use>");

Xamarin (iOS)

Leap.Shared.SetAppLocale("<code_you_want_to_use>");

Cordova (Android)

cordova.plugin.LeapAndroid.setAppLocale("<code_you_want_to_use>");

Cordova (iOS)

cordova.plugin.LeapiOS.setAppLocale("<code_you_want_to_use>");

Ionic

LeapPlugin.setAppLocale("<code_you_want_to_use>");

React Native

LeapReactNative.setAppLocale('<code_you_want_to_use>');

iOS Objective - C

[[Leap shared] setAppLocale:@"<code_you_want_to_use>"];

Info:

  • Before setting the locale code, the end user can select a language in a multilingual in-app experience and change the language in the middle of the experience.

  • Once the language is set, the end user sees the experience in the selected language that is set. In-app experiences without the set language are ignored.

  • In case an incorrect locale code (one not present in the list) is set, the experience is not rendered.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.