Use own custom made API for automatic suggestions #16583
Unanswered
tin-nguyen12
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
https://docs.weblate.org/en/latest/admin/customize.html#custom-module gives more info on adding a module to Weblate, #16584 connects it more with the automatic suggestions docs. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Wondering if someone can point me in the right direction. I want to be able to use the automatic suggestions but with my own custom API. Essentially, I will have a bunch of files in a different languages and when I upload the base English file to add new strings, it should automatically translate it for the other existing languages. However, I want to be able to use my own API that is able to do the translation. I understand I can create a python script.
I saw the documentation regarding this: https://docs.weblate.org/en/weblate-5.13.2/admin/machine.html#custom-machine-translation
However, it doesn't seem to give me much information on how to implement this. I can create an API in Python but unsure how this can then be used by Weblate? It says you can list your own class in WEBLATE_MACHINERY. However, when going to this section in the documentation it doesn't really tell me anything.
I am quite perplexed on how this can work then.
Thanks. Please let me know if there requires more clarify regarding this.
Beta Was this translation helpful? Give feedback.
All reactions