iamjazzar/rosetta

Feedback rosetta BUG

Opened this issue · 1 comments

tcqq commented

I set the preferred language is (automatically detect the system language),But if I changed the language of the phone system, and then open the program, the program language will not automatically switch

Code:
firstLaunchLocale = Locale.getDefault();
supportedLocales = new HashSet<>();
supportedLocales.add(Locale.CHINESE);
supportedLocales.add(Locale.ENGLISH);
supportedLocales.add(firstLaunchLocale);
languageSwitcher = new LanguageSwitcher(this, firstLaunchLocale);
languageSwitcher.setSupportedLocales(supportedLocales);

Yes, I think this exists since it doesn't check the system language on every launch. Thanks for reporting this.