dokuwiki-plugin-translation icon indicating copy to clipboard operation
dokuwiki-plugin-translation copied to clipboard

Feature request: LLM aided translation

Open kaklik opened this issue 1 year ago • 0 comments

It could be helpful to use an LLM API to translate and maintain the language variants consistent the each other. The feature should be activated by setting up the API to an LLM like OpenAI. The use cases I suppose are the following two.

Initial translation from the available language variants

For that use case, the LLM should output the new language variant based on information available on the already existing language variant of the page. It could behave very similarly to the existing process of the creation of the new page. The difference should be that the initial text prepared for editing by the user should be already translated variant of the page by LLM. After the user's editing the page should be saved as a new language variant.

Check the translation consistency

There is currently a basic consistency check which, allows detection of outdated translations. This behavior could be improved by presenting the best guess of the suspected new edits in the page based on the edits in the other language mutations of the page.

kaklik avatar Oct 19 '24 21:10 kaklik