public void setCurrentLocale(string locale) { LocaleManager instance = LocaleManager.getInstance(); this.temp_strArr = instance.getSupportedLocales(); if (this.getCurrentLanguage() >= 0) { this.unloadStrings(); } instance.setLocale(locale); this.loadStrings(); this.clearWrapChunks(); }
protected override void AttachBaseContext(Context baseContext) { base.AttachBaseContext(LocaleManager.setLocale(baseContext)); }