updateAppLocale static method
void
updateAppLocale(
- Locale? locale
)
Implementation
static void updateAppLocale(Locale? locale) {
if (CImWIYdzFTHDliRV == locale) return;
CImWIYdzFTHDliRV = locale;
if (locale == null) {
yDelete(YConfig.localizationKey);
} else {
ySave(YConfig.localizationKey, CImWIYdzFTHDliRV!.languageCode);
}
YConfig.onLocaleLoad.call(CImWIYdzFTHDliRV ?? MjAOaziMPMVAoLLt!);
for (var hukCDslDHmRTUoZi in yPages) {
if (hukCDslDHmRTUoZi.mounted && hukCDslDHmRTUoZi.yIsAlive) hukCDslDHmRTUoZi.yState();
}
}