Inconsistency in plural definition

Continuing the discussion from Issue with pluralized (count) translation override:

I think Hungarian is not the only language affected by this. After checking Hebrew because of this bug mentioning problems, I thought maybe even more languages are affected, so I started looking for more cases.

After finding another one, I expect that even more languages are affected.

2 Likes

Thanks @Moin!

I’ve made this change to stop the bleeding. This will limit the impact of failed compilations so that they only affect _MF strings, rather than taking down the whole site.

We’ll keep digging into the root cause, and update here when we have a solution.

11 Likes

We’ve just merged a patch that relaxes the MessageFormat compiler, allowing invalid plural keys in the messages:

This should take care of most of the problems. Other patches should follow soon.

5 Likes

Another patch has just been merged:

This will prevent creating invalid MF overrides in the admin UI.

5 Likes

Just merged this PR:

Pluralization rules in Ruby should now be up-to-date with the ones we have in JS :slightly_smiling_face:

4 Likes

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.