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

TRANSLATE FILEs not work #599

Open
sudolee opened this issue Mar 8, 2024 · 1 comment
Open

TRANSLATE FILEs not work #599

sudolee opened this issue Mar 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@sudolee
Copy link

sudolee commented Mar 8, 2024

I tried to experience file translation online(https://libretranslate.com/?source=auto&target=zh&q=), uploaded a very small docx file, originally in English, target is Chinese, and there was no response after clicking upload. For the version built locally, debug mode is enabled and no requests are received.

@github-actions github-actions bot added the enhancement New feature or request label Mar 8, 2024
@kion666
Copy link

kion666 commented May 16, 2024

Hello. I have the sam problem. I'm translating on selfhosted VM from English to Polish. In console I can see:

127.0.0.1 - - [16/May/2024 08:43:07] "GET /languages HTTP/1.0" 200 -
127.0.0.1 - - [16/May/2024 08:43:07] "GET /static/favicon.ico HTTP/1.0" 304 -
('paragraphs:', ['Introduction'])
('apply_packaged_translation', 'Introduction')
('sentences', ['Introduction'])
...
('tokenized', [['SHA@@', '2']])
('translated_batches', [TranslationResult(hypotheses=[['S@@', 'HA@@', '2']], scores=[-1.1089423894882202], attention=[])])
('value_hypotheses:', [('SHA2', -1.1089423894882202)])
('translated_paragraphs:', [[('SHA2', -1.1089423894882202)]])
('hypotheses_to_return:', [('SHA2', -1.1089423894882202)])
127.0.0.1 - - [16/May/2024 08:45:25] "POST /translate_file HTTP/1.0" 200 -

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

No branches or pull requests

2 participants