UPDATE:
The plugin used in this article was deprecated, Use it at your own risk.
After some months (maybe a year) working with Flutter ...
For further actions, you may consider blocking this person and/or reporting abuse
This plugin is deprecated now (plugins.jetbrains.com/plugin/10128...).
These are the new alternatives:
Hope this is helpful and thanks to Pedro for the hack!
Hi Pedro, could you specify what Flutter version that you used?
I tried to use it exactly as your tutorial on Flutter 1.12.13+hotfix.8 and it doesn't work. It always returns null. I've run flutter doctor and there was no issues found.
Hi @victoria
I'm using the same version as you (
1.12.13+hotfix.8
). Can I see your MaterialApp configuration? Maybe you are missing something there.Sorry for the late repply
Hi Pedro, thank you for the article. My question is if this approach can be blended with Sharedpreferences and Provider for keeping track of a given locale and state management.
Yes and this approach already update your app if the user change the device's language
Okay, how possible can I incorporate those. Is it allowed to update the generated files.
If possible show me a basic implementation.
Thank you.
The plugin was deprecated, please find another way to localize your app. Read more in the plugin's page
Exactly that's what I saw while reading about the plugin here: plugins.jetbrains.com/plugin/10128...
Thank you.
Hi Pedro,
Thanks for the post, but I have a small issue with the plugin, the extract feature doesnt work, it doesnt actually add the key-value to the arb files, each time I have to do it manually, do you have any thoughts about what could be wrong ?
Just for you know, .abr isn't 'Android Bundle Resource.'
github.com/google/app-resource-bun...
Btw, thx for the article.
Do we have the command to use it in other IDE like VSCode?
Yes we have.