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

Why the word 'refreshTwoLevel' can't be generated into the i18n.dart file? #114

Open ulike opened 5 years ago

ulike commented 5 years ago

why the word 'refreshTwoLevel' can't generated into the i18n.dart file?

noordawod commented 5 years ago

No idea... Can you share a snippet of the arb file?

ulike commented 5 years ago

the arb file like this : "refreshTwoLevel": "release to enter second floor", I have read the source code,Maybe these words zero|one|two|few|many|other of PLURAL lead to the problem。

noordawod commented 5 years ago

Possibly... Can you try with the key "refresh2level" just to test?

ulike commented 5 years ago

"refresh2level" works ok!

noordawod commented 5 years ago

Then it must be what you surmised... It's a bug :)

noordawod commented 5 years ago

Are you interested to fix it and submit a pr?

ulike commented 5 years ago

Sorry ,I'm not good at plugin develop ! And I'm use the Android studio 3.1.1,The 'flutter_i18n' plugin default version is '0.0.6+1',Maybe the new version fixed it?Have you test the problem ?

ulike commented 5 years ago

I have upgraded Android studio and the flutter_i18n plugin ,There is no problem now :)

noordawod commented 5 years ago

Good :)