updateLocale static method
Switches the language without saving it.
Implementation
static void updateLocale(Locale value) => locale.value = value;
Switches the language without saving it.
static void updateLocale(Locale value) => locale.value = value;