Going International
Note
All the public APIs in the SDK should be called after initializing the SDK via HelpshiftSdk.install() API
Helpshift SDK currently supports 47 languages out-of-the-box (with English as the default).
Supported languages
Language | Code |
---|---|
English | en |
German | de |
Spanish | es |
French | fr |
Italian | it |
Russian | ru |
Simplified-Chinese | zh-Hans |
Traditional-Chinese | zh-Hant |
Hong Kong-Chinese | zh-HK |
Hong Kong-Chinese (Traditional) | zh-Hant-HK |
Singapore-Chinese | zh-SG |
Singapore-Chinese (Traditional) | zh-Hant-SG |
Portuguese | pt |
Korean | ko |
Japanese | ja |
Turkish | tr |
Dutch | nl |
Czech | cs |
Hungarian | hu |
Indonesian | id |
Thai | th |
Slovenian | sl |
Vietnamese | vi |
Arabic | ar |
Polish | pl |
Norwegian | no |
Swedish | sv |
Finnish | fi |
Romanian | ro |
Greek | el |
Danish | da |
Malay | ms |
Hebrew | iw |
Slovak | sk |
Ukrainian | uk |
Catalan | ca |
Croatian | hr |
Bengali | bn |
Bulgarian | bg |
Gujarati | gu |
Hindi | hi |
Kannada | kn |
Latvian | lv |
Malayalam | ml |
Marathi | mr |
Punjabi | pa |
Persian | fa |
Tamil | ta |
Telugu | te |
Set SDK language
You can set the SDK language for the given locale using the method SetSDKLanguage("<language-code>")
For example :
Setting SDK language for the given locale with only language code.
using Helpshift
void Awake(){
// Install call here
}
void setLanguage(){
HelpshiftSdk.GetInstance().SetSDKLanguage("fr");
}
Here's a screenshot of how SDK will look after setting the language to French.
Setting the SDK language for the given locale with both language code and country code.
HelpshiftSdk.GetInstance().SetSDKLanguage("zh-SG");
Note
The default language is set to English (en) i.e. if you don't set any language using the SetSDKLanguage
API, SDK will use English as language.