-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Generate MO files doesn't include fuzzy translation even with option set #11656
Comments
That's true, such strings are not included because this is consistent with what |
This issue has been put aside. It is currently unclear if it will ever be implemented as it seems to cover too narrow of a use case or doesn't seem to fit into Weblate. Please try to clarify the use case or consider proposing something more generic to make it useful to more users. |
What is the meaning of the setting then? In addition if you look at the code it would seem that it should work: weblate/weblate/addons/gettext.py Line 36 in f2c7a49
However for some reason it doesn't. I've tried to change the if statement there to be always true and other tricks but is seams that translation parameter just doesn't have those strings loaded in the object. My particular scenario is simple. I want to use google translate and release the translation ASAP cause they are good enough most of the time, but still have the team of translators go over them and confirm or fix them as needed. Another argument I could think of is that the fuzzy strings are indeed included in the po files, so it is strange to not be able to include them in the mo files. To be clear. My bug report is that the setting "Include strings needing editing" that is already in weblate and is documented doesn't do what it seas it would do. Not that I claim that is a new functionality to be added in weblate. |
You are confusing two things:
|
Thank you for your report; the issue you have reported has just been fixed.
|
Describe the issue
I've used google translate to translate strings in our installation and marked them as 'needs editing'.
I've discovered that in the .mo files those strings are missing, where as in the po files are there.
I've enabled the option in the addon configuration: 'Include strings needing editing' and then tried Synchronize, but the strings are still missing from the mo files.
If I remove the check 'needs editing' on a string, then it gets included in the mo file, but if I check it again then the string is again removed from the .mo files.
I've discovered the problem with version 5.3.4 and upgraded to 5.5.5 and then repeat all the steps described above, but the result is still the same.
I already tried
Steps to reproduce the behavior
Expected behavior
No response
Screenshots
Exception traceback
No response
How do you run Weblate?
Other
Weblate versions
(weblate-env) weblate@tr:~$ weblate list_versions
Weblate deploy checks
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: