updateLocale method
Implementation
Future<void> updateLocale(Locale l) async {
Get.locale = l;
// Record that the locale was chosen explicitly so that subsequent
// device locale changes never clobber the user's selection, even when
// the chosen locale matches the locale last auto-applied from the device.
rootController.localeSetExplicitly = true;
await forceAppUpdate();
}