-
-
Notifications
You must be signed in to change notification settings - Fork 959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not triggered format check for Farsi singular #9383
Comments
Weblate maintains a single fork of the repository where it commits files. Having a fork and pull request per language is not really desired for most projects, as it would lead to an enormous flow of pull requests. A better solution for your problem would be to not commit problematic translations:
|
[Aside: I've just noticed that this issue is a duplicate of #5563, which I didn't find when I was originally searching for dupes, sorry about that]
I think part of the issue might be that the existing Weblate check and/or specification for the language is incorrect (I think, I'm not an expert in the given language). The motivating example for this is as follows: There was a translation of an Android plural string like this (language: Persian, android values-fa/strings.xml). <plurals name="favs">
<item quantity="one">۱ برگزیدن</item>
<item quantity="other"><b>%1$s</b> برگزیدن</item>
</plurals> In the Weblate UI this seems correct, because Weblate says use the plural form for However, this does not pass Android linting, which reports (I added the line breaks):
So in this case the So the PR that contained this change could not be merged, blocking not just the Persian translation, but multiple other translations as well. This increased the severity of the problem / urgency of fixing it, because the blast radius of the issue is now much higher. There are, I think, a number of different problems here:
|
Weblate is less strict in checking such singulars since |
Thank you for your report; the issue you have reported has just been fixed.
|
Describe the problem
At the moment Weblate appears to send a PR with changes for multiple languages.
This can cause a problem if the PR is blocked because of an issue with one of the languages.
For example, tuskyapp/Tusky#3714 with changes for 6 languages is currently blocked (it may not be by the time you read this) because of a lint error with only one of the languages.
Describe the solution you'd like
1 PR per language.
Describe alternatives you've considered
No response
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: