Getting started with a forked project

Hi @erictheise

For this specific locales you can replicate the value from other to many. So for example your file will look something like

#: src/main.py:340
msgid "plural"
msgid_plural "plurals"
msgstr[0] "Ваш суд заканчивается через 1 день"
msgstr[1] "Ваш суд заканчивается через % @ дня"
msgstr[2] "Ваш суд заканчивается через % @ дней"
msgstr[3] "Ваш суд заканчивается через % @ дня"

After adding the missing variations flor plurals the error should disappear, consider that each language might have different rules for plurals.

Best regards,
Carlos Olvera from Transifex Support Team

Thanks, @colvera, almost there. Do you have any suggestions about solving the

expected plurals rules '['one', 'other']' instead got '['other']' for resource string '584299778' and language 'gl'

error? frontend/src/locales/gl.json is at

Hi @erictheise

Looks like your only sending one plural instead of the two that Transifex in expecting, what you see is because the singular form for one is missing.

For example,

{
  "files": "{count, plural, one {You have {count} file.} other {You have {count} files.}}"
}

You need to make sure what plural form are expected for each language so you can add it into your file accordingly.

Best regards,
Carlos Olvera

@colvera, please look through the contents of gl.json. I am not sending other or values for any plurals anywhere in this locale.

Hi @erictheise

Is this a translation file that you are trying to upload to the same project-resource? If so you need to send the same information across all the files. The error is related to missing plurals, seems that you are sending just a line while Transifex is expecting to see the one, other relationship.

Transifex is expecting that resource string ‘582731090’ fullfills the conditions, not sure what is the string since we cannot see it inside a project, can you can check it and add the missing information? Or share the URL of your project?

Best regards,
Carlos Olvera