Skip to main content

Going International

Localizing & Internationalizing your in-app Support.

Internationalization

Helpshift iOS SDK comes with support for 45 languages out of the box with English as the default. A bundle file named HsLocalization.bundle is included in the framework that consists of default localizations. If you need to include additional localized strings, add a bundle named HelpshiftCustomLocalization.bundle to the Copy Bundle Resources Phase with the localized strings from HelpshiftCustomLocalizations folder included in the package.

Note

On Unity 5.4, the default localization bundle HsLocalization.bundle does not get added to the Xcode project automatically. To include this to the Xcode project, change its platform to iOS in Unity platform inspector.

The Helpshift SDK will be localized based on the user’s device language. This can be set by going to General → Language & Region → iPhone Language. If the user’s device language is not available, English will be used as default.

Important

Add only required languages from HSLocalization

If you are adding strings for a certain language, it enables that language in your app when submitted to the App store. This has app wide implications and may cause unwanted problems if not taken care of. Specifically, this can lead the App Store to detect that you support a particular language even though you have not specifically added that language to your application. Make sure to only add those languages that your app supports.

List of supported languages

ValuesLanguageLocale
valuesEnglishen
values-deGermande
values-esSpanishes
values-frFrenchfr
values-itItalianit
values-ruRussianru
values-zh-rCNSimplified-Chinesezh-Hans
value-zh-rTWTraditional-Chinesezh-Hant
values-pt-rBRPortuguesept
values-koKoreanko
values-jaJapaneseja
values-trTurkishtr
values-nlDutchnl
values-csCzechcs
values-huHungarianhu
values-inIndonesianid
values-thThaith
values-slSloveniansl
values-viVietnamesevi
values-arArabicar
values-plPolishpl
values-noNorwegianno
values-svSwedishsv
values-fiFinnishfi
values-roRomanianro
values-elGreekel
values-daDanishda
values-msMalayms
values-iwHebrewiw
values-skSlovaksk
values-ukUkrainianuk
values-caCatalanca
values-hrCroatianhr
values-bnBengalibn
values-bgBulgarianbg
values-guGujaratigu
values-hiHindihi
values-knKannadakn
values-lvLatvianlv
values-mlMalayalamml
values-mrMarathimr
values-paPunjabipa
values-faPersianfa
values-taTamilta
values-teTelugute

The Helpshift SDK will be localized based on the user’s device language. This can be set by going to General → Language & Region → iPhone Language. If the user’s device language is not available, English will be used as default.

If the end-user has a language already set for their device (via Settings->General->International->Language) the correct language translations will be used. If the said language is not available English will be used as default.

Set SDK language

Note

For v4.11.0 and above

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

For Example :


// Language Code is like "en" for English or "fr" for French
HelpshiftSdk.getInstance().setSDKLanguage("fr");