Skip to main content

Going International

Helpshift SDK currently supports 47 languages out of the box (with English as the default).

Supported languages

LanguageCode
Englishen
Germande
Spanishes
Frenchfr
Italianit
Russianru
Simplified-Chinesezh-Hans
Traditional-Chinesezh-Hant
Hong Kong-Chinesezh-HK
Hong Kong-Chinese (Traditional)zh-Hant-HK
Singapore-Chinesezh-SG
Singapore-Chinese (Traditional)zh-Hant-SG
Portuguesept
Koreanko
Japaneseja
Turkishtr
Dutchnl
Czechcs
Hungarianhu
Indonesianid
Thaith
Sloveniansl
Vietnamesevi
Arabicar
Polishpl
Norwegianno
Swedishsv
Finnishfi
Romanianro
Greekel
Danishda
Malayms
Hebrewiw
Slovaksk
Ukrainianuk
Catalanca
Croatianhr
Bengalibn
Bulgarianbg
Gujaratigu
Hindihi
Kannadakn
Latvianlv
Malayalamml
Marathimr
Punjabipa
Persianfa
Tamilta
Telugute

Set SDK language

You can set the SDK language using this API. By default, the device's preferred language is used by the SDK.

The call will fail in the following cases:

  • If a Helpshift session is already active at the time of invocation
  • Language code is incorrect

For example : setLanguage('fr')

import { setLanguage } from "helpshift-plugin-sdkx-react-native";

Setting SDK language for the given locale with only language code.

setLanguage("fr");

Setting the SDK language for the given locale with both language code and country code.

setLanguage("zh-SG");

Here's a screenshot of how SDK will look after setting the language to French.

Note

The default language is set to English (en) i.e. if you don't set any language using the setLanguage("<language-code>") API, SDK will use English as the language.