Open muhammadarslannasr opened 2 months ago
when you change locale does the language change, show your code?
No actucally not change when change from english to arabic everything remains as its is.
runApp( MultiProvider( providers: [ ChangeNotifierProvider(create: (_) => LanguagesVm()), ChangeNotifierProvider(create: (_) => MainVm()), ], child: EasyLocalization( key: const ValueKey('easyLocalization'), supportedLocales: [ AppLocalizations.engLocale, AppLocalizations.arabicLocale, AppLocalizations.urduLocale, AppLocalizations.turkeyLocale, AppLocalizations.hindiLocale, AppLocalizations.bengaliLocale, ], path: AppLocalizations.translationFilePath, fallbackLocale: AppLocalizations.engLocale, startLocale: AppLocalizations.engLocale, child: const MyApp(), ), ), );
when you change locale does the language change, show your code?
How to change Direction when language change from English to Arabic or from Arabic to English, I am not getting any change when language change from arabic to english or english to arabic don't know why.
I am using easy_localization: ^3.0.7 with Flutter sdk version 3.22.2