Cannot enter number placeholder for a plural form

Hello Antonis,

Thank you for your quick reply!

Thanks, this could help me resolve the problem and Android documentation confirms that. Maybe I will go with that by asking the owner to change the source text. But, to be honest, this does not feel completely right to me:

  1. Despite the documentation, Android OS itself has an instance of omitting the variable for singular form in default translation but using the variable in the translated string: source, translated. (I found it on my phone in Wi-Fi settings, and it seems to display correctly :smiley:). So, I would not consider that outright invalid.
  2. I would guess there might be additional problems would someone try to import those files into Transifex. It might fail during the import or refuse to save the translation with the same error as I am getting now.
  3. Being able to have “Deleted one note” (instead of “Deleted 1 note”) for the English version looks like a valid and useful case to me.
  4. The logic by which Transifex decides that I cannot use the variable %d for singular form seems a bit strange to me:
    4.1 I am disallowed to use %d in translation for the singular form because the singular of the source string does not use it. But why does Transifex look at “one” category specifically? The same category in two different languages, as you have mentioned, is not necessarily equivalent. At the same time, I am allowed to use %d in translations for “few” and “many” categories even though these categories are not in the source at all.
    4.2 I would assume that the set of variables is actually the same for all plural forms of a string. It is just that not every variable has to be used in every plural form. (So, %d in my examples is always available, but sometimes ignored)

If I got it right, you may consider this change: if a variable is used in one plural form of a string, it should be available for use in all the forms.