long1eu / flutter_i18n

This plugin create a binding between your translations from .arb files and your Flutter app.
Apache License 2.0
251 stars 55 forks source link

Feature: generate json keys for other languages based on en.arb #42

Open smiLLe opened 5 years ago

smiLLe commented 5 years ago

Right now, whenever i add a new key into en.arb i have to update my other .arb files as well. Can't we automatically add the newly added json key in en.arb into the other .arb files? On top of that we could also automatically sort the **.arb keys based on the sorting of en.arb.

long1eu commented 5 years ago

Right now you can alt+enter on a string and click extract string resource. There you can choose to add it in other configurations. Also you can do the same when your in the arb file with the cursor on a key.

d-silveira commented 5 years ago

@long1eu I'd like to suggest that the string extraction feature is added to the README.md, because, I didn't know about this feature, and was about to open an issue regarding that, I'll now open an issue for the README.md update instead