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

Automatic translation add-on keeps running after uninstalled #9516

Closed
2 tasks done
kylecorry31 opened this issue Jul 6, 2023 · 4 comments
Closed
2 tasks done

Automatic translation add-on keeps running after uninstalled #9516

kylecorry31 opened this issue Jul 6, 2023 · 4 comments

Comments

@kylecorry31
Copy link

Describe the issue

I discovered the automatic translation add-on today and enabled it on my repo, but I didn't like the quality of some of the translations so I attempted to stop it by changing the action it took (add as suggestion instead) and then uninstalling, but it keeps making changes. My assumption is that it is going to keep running until all translations are generated, and because I've reset the repo a few times it hasn't got there yet - my hope is that once it finishes translating what's there, it will stop and I can just discard the changes.

File format: Android String Resource

URL: https://hosted.weblate.org/projects/trail-sense/trail-sense-android

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. Enable automatic translation add-on on untranslated strings, add as translation, libretranslate
  2. Committed changes after a little bit and pushed to my upstream repo to see if I could easily clean up some of the translations (it was having issue with format arguments %s was being translated as seemingly random strings)
  3. Switched it to add as suggestion, libretranslate + weblate translation memory
  4. At this point, it was still adding translations instead of suggestions, so I uninstalled the extension
  5. On settings, I reset the repo multiple times and also tried cleanup and synchronize
  6. Translations are still being added (I've locked the repo so it will be easier to clear out when it's done)

Expected behavior

When I uninstall the automatic translation add-on, automatic translations stop being added.

When I switch automatic translations from adding the translation to adding a suggestion, it will stop adding new translations.

Screenshots

No response

Exception traceback

No response

How do you run Weblate?

weblate.org service

Weblate versions

No response

Weblate deploy checks

No response

Additional context

No response

@nijel
Copy link
Member

nijel commented Jul 7, 2023

There is currently no way to stop a running operation. It won't be executed again.

@kylecorry31
Copy link
Author

@nijel thank you for the clarification

@kylecorry31
Copy link
Author

After running overnight, I reset the repo and automatic translations have stopped. That lines up with the operation only being executed once and running until completion.

I'm all set, feel free to close this issue or repurpose it as needed, thanks!

@nijel nijel closed this as completed Jul 12, 2023
@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants