Closed reshadf closed 4 years ago
For Android, the English language should be in values/strings.xml, there is no point in having additional file for English. In case you need the file for some obscure reason, you can tell Weblate to ignore it by language filter.
Hi, I experience the same problem with a Java project! The error removes when I clear the "Monolingual base language file", but then it shows no EN translation, just the keys from the properties file :-/
The weird this is that this used to work for quite a while before it didn’t after we did an update.. did anything change @nijel ? The file in values/strings.xml is not editable it says read only.
I tried with a standard java maven project, so all .properties files under /src/resources with the mask: literals_xx.properties and a literals.properties file?
Do you have both literals_en.properties
and literals.properties
present? What is purpose of the first file then? The source language (English in this case) is supposed to be in literals.properties
, I see no point in "translating" it. I've added some docs on the topic it will be shortly visible at https://docs.weblate.org/en/latest/faq.html#faq-duplicate-files
Perfect! Now it works :-)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug when adding our Android project to weblate it results in the following error: There are more files for the single language (en), please adjust the filemask and use components for translating different resources.
To Reproduce Steps to reproduce the behavior:
Expected behavior Adding an android project to weblate succeeds
Screenshots
Server configuration and status
Additional context We reproduced this in a docker version of weblate and in our previously installed pip installation