-
-
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
Sources are not in sync in all the languages #5775
Comments
What component setup do you use? Bilingual or monolingual? Which file format? Also, the debug mode will contribute to increased server load, consider disabling it. |
Hi @nijel thanks for your quick response. The project is monolingual and the format is PO gettext. This is an staging environment that's why the debug is enabled, in production that is not enabled. |
Unfortunately, I can't reproduce this. For me, the string is properly added to all languages. Do you look for the newly added string immediatelly or once it is commited to the repository? (I tried both and it is always present) There was bug in committing added strings in some corner cases and that was fixed in b32bb96, but I don't think it applies here. Anyway you would see error in the logs in case it would. |
Hi @nijel Digging more into the problem we discovered that when adding a new source string the repository wasn't committed automatically (Maybe that's a bug?), that behavior wasn't present in the previous version. Therefore when adding a new translation (via posting an entire PO file to the endpoint Doing a commit after adding the source string made it work, but still, I think that doesn't seem like proper behavior. Can you please illustrate more here? Thanks. |
It's expected that it's not commited, but it should be committed when needed... How do you upload the new translation to PS: I've just looked into all code paths in the upload, and they seem to trigger the commit when needed. |
So the workflow is: 1- We add the source unit (individually), for instance:
|
Is your component really configured as monolingual? Is Monolingual base language file configured? |
Yes, it is configured as monolingual
|
Thanks, I was able to reproduce the issue now. It will be fixed in 4.5.3 this week. |
Thank you for your report; the issue you have reported has just been fixed.
|
Describe the issue
When adding a new source unit, the added unit is not available for the rest of the languages
while for another language
To Reproduce the issue
Steps to reproduce the behavior:
Expected behavior
Once a unit source is added to the source language, it should be present in all the other languages, or at least the addition of the new source language should give a mechanism to track when the unit will be added, otherwise, we can't know when it is possible to add the translation.
Screenshots
while for another language
Server configuration and status
Weblate installation: weblate.org service / Docker / PyPI / other
Weblate deploy checks
Additional context
Our server is under heavy traffic right now, which would explain why we see the CRITICAL alerts from check --deploy command.
However, this should not interfere with adding translations and source units.
The text was updated successfully, but these errors were encountered: