Closed danielh4t closed 1 year ago
Thanks @patzly for the detailed response. I will have a look at it.
@patzly looked into in some languages like Russian it, 1 photo, 101 photo is correct instead of the English way of 1 photo 101 photos
In Transifex, there is a warning The expression '%1$d' is not present in the original phrase.
I believe this relates to the original string resources not having the %d
According to the docs:
Always include %d in "one" because translators will need to use %d for languages where "one
Therefore, adding %1$d
to the one in the strings.xml
for the three plurals should resolve that, I could submit a PR if you want or the change could be done on Transifex or on your end :smile:
<plurals name="appearance_random_interval_minutes">
<item quantity="one">Every %1$d minute</item>
<item quantity="other">Every %1$d minutes</item>
</plurals>
<plurals name="appearance_random_interval_hours">
<item quantity="one">Every %1$d hour</item>
<item quantity="other">Every %1$d hours</item>
</plurals>
<plurals name="appearance_random_interval_days">
<item quantity="one">Every %1$d day</item>
<item quantity="other">Every %1$d days</item>
</plurals>
That's a very important fact you mentioned, thanks! I added the placeholder and now you (and every other translator) have to translate the plurals again I think.
@danielh4t Hi and thanks! The change has to be done directly in Transifex, so I removed the there (it has to be completely removed, in English there is no tag there. I don't know why some people on Transifex add
tags somewhere). But if you speak Russian, please take a look on Transifex and the plurals in Doodle. There are some errors with the plural for one quantity:
These are the affected strings:
On Transifex you can search for "Every" to find the 3 plurals. On the right side you have to select the quantity "one" to edit the affected string. Thanks!