-
Notifications
You must be signed in to change notification settings - Fork 323
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
Native i18n support #4941
Comments
Oh, and another cool feature would be the ability to see the message in the reference language in the code editor instead of the identifier, just like in Android native development. |
Thanks for the detailed feature request! I agree that we should have tooling in this area. We won't have immediate bandwidth but I suspect that this is something pull put into our planning process in the future. |
There's a great deal the IDE could do to make developers building internationalized apps more effective. Happy to do what we can to help. |
Thumbs up from me! One of the things I liked about the old localization workflow is that making strings "translatable" had an extremely low barrier to entry, meaning developers were more likely to do it during normal feature development (compared to using raw strings). Since the workflow involved writing Dart code ( The new workflow looks like it does actually automate a good chunk of that workflow, but:
IMO this significantly increases the barrier to entry for writing translatable apps:
To be fair the issue with All that to say: it would be great to have some better tooling here! |
It would be really nice to have support for the new internationalization process documented there.
I tried to use the Flutter Intl plugin for IntelliJ but it creates ARB files in a completely different location and it simply ignores the configuration in
l10n.yaml
. The most useful part of this plugin that I would love to see replicated in the native Flutter plugin is an intention action that lets me add an entry to my ARB files from a dart file, similar to what "Internationalize" does in Java for example.It would:
AppLocalizations.of(context).key(args)
, taking the configuration inl10n.yaml
into accountapp_localizations.dart
import if it's missingAdditionally, if it contained an ARB editor that lets me see translations in a table instead of having to open all my ARB files side by side, that would be perfect (similar to the translation editor for Android native projects).
The text was updated successfully, but these errors were encountered: