You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like the generation of plural keys is not working correctly at the moment.
The generated keys file in the static_keys example does not generate the key "Plural.demo", only the children of it (Plural.demo.zero etc.). Which in turn gives a compilation error when I try to use the key in my widget, as the key does not exist.
I thought originally i was doing something wrong, but the generated files in the example also does this.
Am i correct in assuming that the example will not work either? Or am i doing something wrong when i get the compilation error when running:
translatePlural(Keys.Plural_Demo, _counter)
The text was updated successfully, but these errors were encountered:
I think the generation of plural keys needs to be updated in flutter_translate_gen in order for pluralization to work correctly after the latest changes in flutter_translate.
I don't have time currently to update the generator.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
It seems like the generation of plural keys is not working correctly at the moment.
The generated keys file in the static_keys example does not generate the key "Plural.demo", only the children of it (Plural.demo.zero etc.). Which in turn gives a compilation error when I try to use the key in my widget, as the key does not exist.
I thought originally i was doing something wrong, but the generated files in the example also does this.
Am i correct in assuming that the example will not work either? Or am i doing something wrong when i get the compilation error when running:
translatePlural(Keys.Plural_Demo, _counter)
The text was updated successfully, but these errors were encountered: