setLocale method
Implementation
void setLocale(Locale newLocale) {
_locale = newLocale;
load(); // Reload the localized strings for the new locale
}
void setLocale(Locale newLocale) {
_locale = newLocale;
load(); // Reload the localized strings for the new locale
}