Skip to content
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

Translation is empty but it is exist in history #10470

Closed
2 tasks done
wirthandras opened this issue Nov 23, 2023 · 7 comments
Closed
2 tasks done

Translation is empty but it is exist in history #10470

wirthandras opened this issue Nov 23, 2023 · 7 comments
Labels
question This is more a question for the support than an issue.

Comments

@wirthandras
Copy link
Contributor

Describe the issue

We have recently encountered an issue: the translated phrases disappear from the input field but still exist in the history. Several text units exhibit the same behavior. These phrases are missing from the commit.

After restarting Weblate, I can re-add the translations from the history. After that the git commit contains the related changes. However, after updating from the git repository, the changes disappear again from the input field.

What shall we do? I search through earlier issues but didn't found any related to this.
It seems to me there is no memory and CPU resource issue

I already tried

  • I've read and searched the documentation.
  • I've searched for similar issues in this repository.

Steps to reproduce the behavior

  1. the translated phrases disappear from the input field but still exist in the history.
  2. After restarting Weblate,
  3. I can re-add the translations from the history.
  4. After that the git commit contains the related changes.
  5. However, after updating from the git repository, the changes disappear again from the input field.

Expected behavior

No disappearing text, serialization during commit works as expected.

Screenshots

image

Exception traceback

.

How do you run Weblate?

Docker container

Weblate versions

Weblate 4.8.1

Weblate deploy checks

.

Additional context

.

@wirthandras
Copy link
Contributor Author

I forget to mention an important thing, recently we are switched from manual sync (manually push, the Commit, Push , and Update buttons in weblate web app) and now we are using the same things via Rest API

@wirthandras
Copy link
Contributor Author

Weblate docker container became unhealthy:
image

@wirthandras
Copy link
Contributor Author

I saw the following error in logs, Is that related here?
image

nginx stderr | 2023/11/23 15:15:13 [error] 232#232: *1 open() "/app/cache/static/vendor/bootstrap/css/bootstrap-datepicker3.css.map" failed (2: No such file or directory), client: x.x.x.x, server: , request: "GET /static/vendor/bootstrap/css/bootstrap-datepicker3.css.map HTTP/1.1", host:

@nijel
Copy link
Member

nijel commented Nov 23, 2023

There was a corner case which could cause such behavior, which has been fixed in 5.2.1 (93c0516). Can you please upgrade?

PS: The missing css.map file is not related.

@nijel nijel added the question This is more a question for the support than an issue. label Nov 23, 2023
Copy link

This issue has been marked as a question by a Weblate team member. Why? Because it belongs more to the professional Weblate Care or community Discussions than here. We strive to answer these reasonably fast here, too, but purchasing the support subscription is more responsible and faster for your business. And it makes Weblate stronger as well. Thanks!

In case your question is already answered, making a donation is the right way to say thank you!

@wirthandras
Copy link
Contributor Author

@nijel we have updated the weblate to version 5.2.1, Thanks!

Copy link

The issue you have reported is now resolved. If you don’t feel it’s right, please follow its labels to get a clue for further steps.

  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is more a question for the support than an issue.
Projects
None yet
Development

No branches or pull requests

2 participants