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
{num_guests, plural, offset:1 "
"=0 {{host} does not give a party.}"
"=1 {{host} invites {guest} to her party.}"
"=2 {{host} invites {guest} and one other person to her party.}
eo-locale will just print the entire translation text in this case.
This makes eo-locale hard to use with pluralisation or tools like Phrase which seem to add offset:0 by default 😅
The text was updated successfully, but these errors were encountered:
I haven't seen anyone actually use it, and to be fair I don't really know why one would. I suppose there might be use for it in some localisation but with the plural syntax what I see most translations end up with just one and other regardless of being able to add more forms.
For our usage now I just made this dirty fix using patch-package since it was blocking our release 😄
ICU format specifies
offset:N
which eo-locale currently doesn't handle parsing, neither ignoring or using.Example from ICU user guide http://userguide.icu-project.org/formatparse/messages
eo-locale will just print the entire translation text in this case.
This makes eo-locale hard to use with pluralisation or tools like Phrase which seem to add offset:0 by default 😅
The text was updated successfully, but these errors were encountered: