Important Update: Changes to Hebrew Plural Rules in Transifex

Hi everyone,

I hope you’re doing well.

I wanted to share some important news regarding the upcoming changes to the plural rules for Hebrew locales in Transifex.

Following the Unicode CLDR data update (version 42), the “many” form will be removed from Hebrew plural rules in Transifex. These adjustments are scheduled to be implemented on Feb 15th for both Hebrew (he) and Hebrew (Israel) (he_IL) locales.

Impact on Your Transifex Projects:

For Projects with Hebrew as Target Language:

  • Despite the removal of the “many” form, any pluralized strings that have already been translated will remain fully translated, reserving their reviewed status if it has been applied in Transifex.
  • Pluralized strings will have fewer available forms in Hebrew (1, 2, other instead of 1, 2, many, other).
  • Translations for the “many” form will no longer be available in Transifex.

For Projects with Hebrew as the Source Language:

  • Strings previously translated from Hebrew into another language will be re-translated/re-reviewed. These actions will be carried out by Transifex (tx-bot), and all changes will be recorded in the strings’ history in the editor.

If you wish to retain backups for this translation form, we recommend utilizing our API or GO CLI to export your translation files before Feb 15th.

If you have any questions or need further clarification, please don’t hesitate to reach out.

I’m not sure where is this decision coming from, we use the 3rd form in very rare cases but we do.

@nina we need to make sure this change doesn’t apply, it will delete years’ worth of translations, please stop this, we have already contacted CLDR in order to revert this decision.

Good morning dear Yaron,

Hope you are great.

Regarding the decision, we needed to follow CLDR rules as these are the rules for plurals our platform follows. You can see also, an instance where this caused an issue by having the “many form” still in place, here.

Would you mind sharing your role and for which projects / organization you are interested in?

I would like to mention that our announcement was made on the 12th of February and gave a heads up for the 15th, if someone needed to keep back ups.

We remain at your disposal.

I’m involved in many open-source projects both as a contributor and as a manager.

Hello @yaron

I hope my message find you well.
I wanted to chime in here and let you know that unfortunately we have to keep this change as we are following CLDR rules and thats why are team decided to give a heads up before this happens. I understand your frustration but we have to keep moving forward as CLDR changes.

Best Regards

Several years ago the plural rules were changed to 4 forms after some internal discussion within the Israel community.
In 2021 a single contributor decided to request the removal of one of the forms (for items that can be divided by 10 but are greater than 10).
Now we’ve put much effort into using this form in the rare cases where it is used but now it will be completely removed.

Hello Yaron,

Thank you for sharing additional insights regarding the upcoming changes to plural rules for Hebrew locales in Transifex. Your engagement in improving our community is truly appreciated.

It’s crucial to emphasize that, at present, we are bound by the CLDR rules, making any adjustments beyond our control. We want you to know that we acknowledge the significance of this matter and truly appreciate your input.

We understand this news may not align with your expectations and will likely introduce significant changes for you and your team. Unfortunately, our current circumstances limit our ability to make immediate modifications. However, we promise you that your feedback will be conveyed to our product and engineering teams to explore potential workarounds.

In our commitment to transparency, we strive to keep the community well-informed before implementing changes. Your understanding is highly appreciated, and we thank you once again for your valuable time.

- Sandy

The new rules changed the header of our Hebrew translations this way:

-“Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n”
+“Plural-Forms: nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n”

Now, the Gettext msgfmt command creates an error for every Hebrew translation file:

./i18n/he.po:7: nplurals = 3 but plural expression can produce values as large as 3

It seems to be always related to the translation of empty strings:

msgid “”
msgstr “”

How can we fix that?

Good morning,

I am Christos from the support team in Transifex.

First of all let me apologize for the inconvenience.

Thank you for bringing this to our attention. Please note that we are implementing a solution to this.
I will update you as soon as this is live.

Kind regards