Plurals in I18next support

Hi, is it possible for Crowdin to support the i18next JSON v4 format for plural associations?

They use a suffix pattern, not a nesting pattern.

1 Like

@JoseMariaDeVeer how do you upload files?

Recently Crowdin’s team added support for all plurals types (formats).

Maybe you don’t indicate the type of file like “i18next_json” during upload via API or CLI?

With UI upload it possibly may not work (not sure, never tried) - system probably can’t detect format like i18next by itself without specifying that (and because specifying is possible only via CLI or API, personally I use them)

Or use this format (supported via UI)
“one”:
{ “msg”: “{Files} file” }
“other”:
{ “msg”: “{Files} files” }

1 Like