I18next `_zero` support

Hi!

I’m aware of I18next format `_zero` support but I would like to bump this task once more since it seems to have had a bit of an inconclusive ending (in my eyes).

We’re currently experimenting with Crowdin for a future translation project, however we are in need of the ability to use _zero on our plural strings in languages that may not “support” them per se. For instance, our project uses the zero plurality to produce a different string with an alternative meaning (“This user has created one plugin” vs “This user has no plugins but has contributed in other ways”). I read that we could try to use a custom language for this, but it would mean we’d need a custom language for every target language as well since we’d need to configure them to support zero plurality.

If it’s not possible to do this we can work around it, but obviously the preference is to be able to support this use case.

Reference project: Vencord dashboard in Crowdin

Hi @lewisakura

Currently, we are working on this task specifically for the languages that actually support the zero plural form according to Unicode CLDR. This ensures that we correctly align with the standard where the _zero key is expected to be present.

For your immediate need, the best available workaround is indeed to use custom languages feature.

Hmm that is quite unfortunate, unless it’s changed I don’t think you can have a custom language as a source language either can you?

Is there any possibility that the option to have _zero across all languages will get added?

Hi @lewisakura

I’ll confirm this with our product team to see if there are any recent or planned changes in this area, and I’ll get back to you as soon as I have an update.