Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from the localizely Flutter Intl plugin to the new Flutter internationalization / localization #45

Closed
stephanegigandet opened this issue Dec 26, 2020 · 0 comments · Fixed by #46
Assignees

Comments

@stephanegigandet
Copy link
Contributor

The app currently use the Flutter Intl plugin from localizely to manage translations:
https://github.com/localizely/flutter-intl-plugin-sample-app

Flutter 1.22 announce https://medium.com/flutter/announcing-flutter-1-22-44f146009e5f#f2cb has a section "New internationalization and localization support" with a link to a Flutter Internationalization Guide in a google doc: https://docs.google.com/document/d/10e0saTfAv32OZLRmONy866vnaw0I2jwL8zukykpgWBc/edit

The 2 approaches look very similar (using .arb files to automatically generate dart code), but if there is now an official way, we probably should use it. The differences seem to be mostly in the name of the directories for the arb files and the generated code, as well as the name of the function to access the localized strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant