Open EdwynZN opened 3 years ago
Hi @EdwynZN This is a known problem. Linked issues from IDE plugins:
PR is created https://github.com/localizely/intl_utils/pull/18 but I think such changes should be considered for the next major version
At least, we should not assign the new locale in S.load
, this is called in each Localizations.override
. Let developer to choose when to assign new locale.
Perhaps this is a problem with flutter itself and not this awesome package but maybe you can help me narrow the problem so I can open the issue in the Flutter project instead (There is already a similar problem in Flutter issues https://github.com/flutter/flutter/issues/33300)
When using
AboutListTile()
> Opening Dialog > See Licenses > Tap on any License the Localization becomes English for the whole app, Reading the code they useLocalizations.override(locale: const Locale('en', 'US'), ...)
so the license page load only in English, the problem is that Localizations.override should only override that page, but it changes the whole app language to English