easy_localization
easy_localization copied to clipboard
Plural "other" does not work as default key
Hi, Guys. I'm using easy_localization 3.0.0 version. And In this version, Plural's "other" key does not work as default key.
This is example.
json
"money_args": {
"other": "{} has {} dollars"
}
code
final money = plural('money_args', 0, args: ['John', '0']); // output: money_args.zero
Is it expected behavior? If not, It looks side effect of this commit
@aissat please look this bug
This is kind of important as translations that worked in 2.x don't work anymore in 3.0.0.
Thanks for working on this bug, it just started to bother me. Hope this will get merged soon 🙇
Hi, I've seen the issue is fixed on 3.0.1. So I'm using it, thanks! I'm just curious, why is it not released on pub.dev ? Any reason for that ?
Fixed in 3.0.1