easy_localization icon indicating copy to clipboard operation
easy_localization copied to clipboard

Plural "other" does not work as default key

Open graykick opened this issue 3 years ago • 4 comments

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

graykick avatar Mar 05 '21 03:03 graykick

@aissat please look this bug

Overman775 avatar Mar 13 '21 20:03 Overman775

This is kind of important as translations that worked in 2.x don't work anymore in 3.0.0.

kuhnroyal avatar Apr 16 '21 13:04 kuhnroyal

Thanks for working on this bug, it just started to bother me. Hope this will get merged soon 🙇

Fintasys avatar Jun 18 '21 16:06 Fintasys

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 ?

EskAere avatar Aug 29 '21 22:08 EskAere

Fixed in 3.0.1

bw-flagship avatar May 13 '23 11:05 bw-flagship