예제 #1
0
    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();
    }
예제 #2
0
 protected override void AttachBaseContext(Context baseContext)
 {
     base.AttachBaseContext(LocaleManager.setLocale(baseContext));
 }