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 Memory Maintenance - Global delete and recreate #7347

Closed
rhofer opened this issue Mar 4, 2022 · 5 comments
Closed

Translation Memory Maintenance - Global delete and recreate #7347

rhofer opened this issue Mar 4, 2022 · 5 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

@rhofer
Copy link
Contributor

rhofer commented Mar 4, 2022

Describe the problem

Situation, goal and problem is described in #7346

Describe the solution you'd like

  • Today, TM handling allows upload, download and delete
  • Extend handling with recreate / renew TM: flush all old entries and freshly create from active component/project
    • Most likely feasible for project TM
    • For personal TM it may makes no sense. Upload, download and delete might be sufficient
    • For shared TM, the renew option would possibly point at project TM

TM-refresh-buttons

Assuming that translations on components are managed carefully (and review states are applied properly), such a "global" clean-up in sense of recreating from current component state, would be very helpful in order to get rid of old, invalid strings and would reduce TM pollution by carriyng out this actions from time to time.

Excluded:

  • Manually uploaded TMs either on project level or personal level shall not be affected. This still shall work as-is.

Affects:

  • shared TM
  • project TM
  • personal TM

Pros

  • Impoved TM handling. Allows TM intervention if needed / on event.
  • Management actions on TM are selective.

Cons

  • Requires manual interaction
  • Requires awareness of translators (if awareness is not given, TM will still grow and pollute)
    • Our translators are not working daily with Weblate, hence, they are even not aware of what maintenance features are available. We assume, they would not use manual TM management, what leads to polluted TMs again.

Describe alternatives you've considered

No response

Screenshots

No response

Additional context

No response

@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 4, 2022
@github-actions
Copy link

github-actions bot commented Mar 4, 2022

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.

@rhofer
Copy link
Contributor Author

rhofer commented Mar 4, 2022

/cc @KadAnna

@nijel nijel modified the milestone: 4.12 Mar 28, 2022
@nijel nijel added this to To do in Translation memory via automation Mar 28, 2022
@nijel nijel self-assigned this Apr 11, 2022
@nijel nijel added this to the 4.12 milestone Apr 11, 2022
@nijel nijel closed this as completed in b2b99fa Apr 11, 2022
Translation memory automation moved this from To do to Done Apr 11, 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.

@rhofer
Copy link
Contributor Author

rhofer commented Apr 27, 2022

@nijel Many thanks for this feature. Is there any indication how long it takes to rebuild a TM? How long will it take after triggering rebuild until the TM is visible again in Project / Translation memory ?

nijel added a commit that referenced this issue Apr 28, 2022
@nijel
Copy link
Member

nijel commented Apr 28, 2022

There is currently no indication for that. I've added at least logging of components being updated in 4fe4f9a.

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
Development

No branches or pull requests

2 participants