Open iambibhas opened 4 years ago
@iambibhas I am also facing similar issue. Did you by chance get any solution for 'mf' not able to handle plurals?
Same problem
Same problem.
I think it's related to https://github.com/smhg/gettext-parser not this lib.
Expected Behavior
I have this entry in my po file -
which should convert to a format that works fine with both
gettext()
andngettext()
in gettext.js.Actual Behavior
If I use
raw
format, it generates -Which, when using gettext.js, doesn't work with
gettext()
, and only works withngettext(%s, 1)
even for the singular value as the second string.If I use
mf
format, it generates -Which works fine with
gettext()
in gettext.js, but the plural values are ignored when converting to json.Steps to Reproduce
after following recommended workflow.