HomeDocumentationAPI Reference
Getting StartedAPI ReferenceHelp CenterVideo Tours

Set Locale

The locale of the SDK can be changed by passing the required locale enum to this method.

Method

Instabug.setLocale(.french)
[Instabug setLocale:IBGLocaleFrench];
Instabug.setLocale(new Locale("de"));
Instabug.setLocale(Locale("de"))
Instabug.setLocale(Instabug.locale.french);
Instabug.setLocale(IBGLocale.french);
Instabug.setLocale('french');
//iOS
Instabug.SetLocale(IBGLocale.English);

//Android
new Instabug.Builder(this, "YOUR_ANDROID_TOKEN")
            .SetInvocationEvent(InstabugInvocationEvent.Shake)
            .SetLocale(Locale.French)
                        .Build();
Locale Parameters:

.arabic
.azerbaijani
.catalan
.catalanSpain
.chineseSimplified
.chineseTaiwan
.chineseTraditional
.czech
.danish
.dutch
.english
.french
.german
.italian
.japanese
.korean
.norwegian
.polish
.portuguese
.portugueseBrazil
.russian
.slovak
.spanish
.swedish
.turkish
.hungarian
.finnish
IBGLocaleArabic    
IBGLocaleChineseSimplified    
IBGLocaleChineseTaiwan
IBGLocaleChineseTraditional
IBGLocaleCzech
IBGLocaleDanish
IBGLocaleDutch
IBGLocaleEnglish
IBGLocaleFrench
IBGLocaleGerman
IBGLocaleItalian
IBGLocaleJapanese
IBGLocaleKorean
IBGLocaleNorwegian
IBGLocalePolish
IBGLocalePortugese
IBGLocalePortugueseBrazil
IBGLocaleRussian
IBGLocaleSlovak
IBGLocaleSpanish
IBGLocaleSwedish
IBGLocaleTurkish
Locale("en")
Locale("ar")
Locale("az")
Locale("ca")
Locale("ca","ES")
Locale("cs")
Locale("da")
Locale("de")
Locale("es")
Locale("fa")
Locale("fi")
Locale("fr")
Locale("hu")
Locale("in")
Locale("it")
Locale("ja")
Locale("ko")
Locale("nl")
Locale("pl")
Locale("pt","BR")
Locale("pt","PT")
Locale("ru")
Locale("sk")
Locale("sv")
Locale("tr")
Locale("zh","CN")
Locale("zh","TW")
Locale("en")
Locale("ar")
Locale("az")
Locale("ca")
Locale("ca","ES")
Locale("cs")
Locale("da")
Locale("de")
Locale("es")
Locale("fa")
Locale("fi")
Locale("fr")
Locale("hu")
Locale("in")
Locale("it")
Locale("ja")
Locale("ko")
Locale("nl")
Locale("pl")
Locale("pt","BR")
Locale("pt","PT")
Locale("ru")
Locale("sk")
Locale("sv")
Locale("tr")
Locale("zh","CN")
Locale("zh","TW")
Instabug.locale.arabic
Instabug.locale.azerbaijani
Instabug.locale.chineseSimplified
Instabug.locale.chineseTraditional
Instabug.locale.czech
Instabug.locale.danish
Instabug.locale.dutch
Instabug.locale.english
Instabug.locale.french
Instabug.locale.german
Instabug.locale.italian
Instabug.locale.japanese
Instabug.locale.polish
Instabug.locale.portugueseBrazil
Instabug.locale.romanian
Instabug.locale.russian
Instabug.locale.spanish
Instabug.locale.swedish
Instabug.locale.turkish
Instabug.locale.korean
IBGLocale.arabic
IBGLocale.azerbaijani
IBGLocale.chineseSimplified
IBGLocale.chineseTraditional
IBGLocale.czech
IBGLocale.danish
IBGLocale.dutch
IBGLocale.english
IBGLocale.french
IBGLocale.german
IBGLocale.italian
IBGLocale.japanese
IBGLocale.korean
IBGLocale.polish
IBGLocale.portugueseBrazil
IBGLocale.portuguesePortugal
IBGLocale.romanian
IBGLocale.russian
IBGLocale.spanish
IBGLocale.swedish
IBGLocale.turkish
IBGLocale.indonesian
IBGLocale.slovak
IBGLocale.norwegian
'arabic'
'chineseSimplified'
'chineseTraditional'
'english'
'french'
'german'
'italian'
'japanese'
'korean'
'polish'
'portugueseBrazil'
'russian'
'spanish'
'swedish'
'turkish'
'czech'
//iOS
IBGLocale.Arabic,
IBGLocale.ChineseSimplified
IBGLocale.ChineseTaiwan
IBGLocale.ChineseTraditional
IBGLocale.Czech
IBGLocale.Danish
IBGLocale.English
IBGLocale.French
IBGLocale.German
IBGLocale.Italian
IBGLocale.Japanese
IBGLocale.Korean
IBGLocale.Norwegian
IBGLocale.Polish
IBGLocale.Portugese
IBGLocale.PortugueseBrazil
IBGLocale.Russian
IBGLocale.Slovak
IBGLocale.Spanish
IBGLocale.Swedish
IBGLocale.Turkish

//Android
Locale.Arabic
Locale.ChineseSimplified
Locale.ChineseTraditional
Locale.Czech
Locale.Danish
Locale.English
Locale.French
Locale.German
Locale.Italian
Locale.Japanese
Locale.Polish
Locale.PortugueseBrazil
Locale.Russian
Locale.Spanish
Locale.Swedish
Locale.Turkish