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

Track external translation changes in weblate #5726

Closed
swurzinger opened this issue Mar 23, 2021 · 3 comments
Closed

Track external translation changes in weblate #5726

swurzinger opened this issue Mar 23, 2021 · 3 comments
Assignees
Labels
backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. enhancement Adding or requesting a new feature.
Milestone

Comments

@swurzinger
Copy link

Currently, if a developer changes a translation in source code directly this change is directly reflected in WebLate, but there seems to be no possibility to let the translation state change. So for example a reviewed translations will stay in state "reviewed" although it has been changed by a developer (who pushed a change to the file in Git).

The problem is that such translation changes are not visible in webLate; the translation text stays in state reviewed although that text hasn't been reviewed.

Describe the solution you'd like

I good solution would be to let the user define in settings what happens to externally changed translations, what happens with newly added translations strings, etc.
Options would be to e.g. to

  • keep state unmodified
  • set state to "translated" (needs review)
  • set state to "needs edit"

Describe alternatives you've considered

I cannot think of any reasonable workarounds to track external changes. One approach might be to include some special word/token in the translation text itself, which can be searched in weblate. e.g. instead of "translation text" use "translation text [TODO]" and then you can search for all strings containing "[TODO]".

Screenshots

n/a

Additional context

n/a

@swurzinger swurzinger changed the title track external changes in weblate Track external translation changes in weblate Mar 23, 2021
@nijel nijel added backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. enhancement Adding or requesting a new feature. labels Mar 23, 2021
@github-actions
Copy link

This issue has been added to the backlog. It is not scheduled on the Weblate roadmap, but it eventually might be implemented. In case you need this feature soon, please consider helping or push it by funding the development.

@tomkolp
Copy link
Contributor

tomkolp commented Mar 23, 2021

#5431

nijel added a commit that referenced this issue Jan 13, 2022
This is preparation for adding more changes when doing remote update.

Issue #5726
@nijel nijel self-assigned this Jan 13, 2022
@nijel nijel added this to the 4.11 milestone Jan 13, 2022
nijel added a commit that referenced this issue Jan 13, 2022
In case when the state is tracked in Weblate only, it should be reset
when the string changes in the repository.

Issue #5726
nijel added a commit that referenced this issue Jan 13, 2022
This allows nicer display than just the change action.

Issue #5726
@nijel nijel closed this as completed in 7a4cbce Jan 13, 2022
@github-actions
Copy link

Thank you for your report; the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • 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
backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. enhancement Adding or requesting a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants