esskar / vscode-flutter-i18n-json

VS Code extension to create a binding between your translations from .json files and your Flutter app.
92 stars 22 forks source link

Is there a way to change locale in app ? #19

Closed riclava closed 5 years ago

riclava commented 5 years ago

as title says

esskar commented 5 years ago

It is. See #13 to see how to use it... i will need to add it to the documentation

riclava commented 5 years ago

@esskar thanks a lot ;-)

nohli commented 5 years ago

I don't want to open another issue, so I'm gonna ask here if it's okay...

  1. Does this merge mean the app should update the locale without a restart? On iOS 13.1 it doesn't, or I'm doing it wrong.

  2. After manually changing the language, the Flutter timepicker and datepicker still show the locale of the phone settings (i.e. the cancel, ok, am, pm buttons of MaterialLocalizations.of(context)....)

Is there a way to fix nr. 2, so that the app has 100% the same language?