Docx and odt returned untranslated

Hi,

I have installed Libretranslate using LibreTranslate-init and configured the nginx proxy according to the docs on Github. It works great with text input and for instance txt files.

However with files like docx and odt the uploaded file gets returned without being translated. No errors in the logs or webconsole, I tried with debug=True. I do see the files in /tmp, both the original and what should be translated file.

Has anyone else run into this issue, ideas on how to solve this? Many thanks for any help on this in advance.

1 Like

This is probably an issue with Argos Translate Files but I’m not sure what.

I just did this test and it worked:

  1. Create and save an .odt file using LibreOffice (only a few sentences so the translation doesn’t time out)
  2. Translate en->zh on LibreTranslate.com
  3. Verify that the translation was performed

Could you share with us the files ?

Thanks, I tested the file, any language I tried it returns the file unchanged in english.

I have tried converting the .docx file, .odt file, both small and large but they kept on downloading without being translated. Can anyone please help me with it.
Normal text and .txt files are working correctly. I have self hosted it using github.
I need to translate the .docx fil with outmost priority.

I think this may be a bug. I made a Github issue to track it.

My guess is that the issue isn’t with the document translation itself but a timeout or something similar breaking the translation of the document.

After how many days can I expect some resolution over it?

Someone posted a YouTube comment on my LibreTranslate files tutorial video:

I have self hosted LibreTranslate working on my machine but the issue I am facing and I guess many other users too that .docx file translation is not working. Files get downloaded in the same language as they were primarily in, can you help me out?