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

Deleting string in source JSON does not remove it from other language JSONs #5958

Closed
swurzinger opened this issue May 3, 2021 · 5 comments
Closed
Assignees
Labels
question This is more a question for the support than an issue.
Milestone

Comments

@swurzinger
Copy link

Describe the issue

When clicking "Tools" -> "Delete String" in a (nested) JSON translation the string gets deleted from weblate, so it is not visible anymore for any language, but in GIT only the source language JSON is modified; the translated strings are not removed from the other-language JSON files. e.g. when removing the entry "TEST" from "en_US.json" it is not deleted from "cs_CZ.json".

I already tried

Did not find a related issue on GitHub.

To Reproduce the issue

Just delete the source string as described above. Weblate only allows to delete string on the source language anyways.

Expected behavior

Expect that when explicitly deleting a source string it is also removed from all the translated files.

Server configuration and status

Weblate installation: openshift
v4.6

@nijel
Copy link
Member

nijel commented May 7, 2021

See https://docs.weblate.org/en/latest/devel/integration.html#updating-target-files

@nijel nijel added the question This is more a question for the support than an issue. label May 7, 2021
@github-actions
Copy link

github-actions bot commented May 7, 2021

This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you!

@swurzinger
Copy link
Author

Thanks, the plugin exactly does what I expected to be done by default. Did not see the linked section of the documentation that would have explained that behavior nicely.

@github-actions
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.

@nijel nijel added this to the 4.7 milestone May 12, 2021
@nijel
Copy link
Member

nijel commented May 12, 2021

I've added it to suggestions in localization guide, that should make it a bit more visible: f986a5d

@nijel nijel self-assigned this May 12, 2021
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