easy_localization icon indicating copy to clipboard operation
easy_localization copied to clipboard

en_US writing style doesn't work on iOS

Open Fintasys opened this issue 1 year ago • 1 comments

I investigated an issue on iOS, why easy_localization won't use my device language.

I figured out that findSystemLocale() returns just en on iOS (tested with iOS 16.2) and then comparing supportedLocales (e.g. Locale('en','US')) will not be recognized during locale.supports(deviceLocale) and it will always return false. Screen Shot 2023-07-05 at 23 44 08

Workaround - don't use country code for your translation files and supportedLocales

Fintasys avatar Jul 05 '23 14:07 Fintasys

Thanks for the investigation!

bw-flagship avatar Aug 30 '23 15:08 bw-flagship