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
Can't get machine translation tmserver or Weblate built-in to show anything #1285
Comments
Some backends (Weblate built in and few third party ones) are enabled at https://hosted.weblate.org/, the availability always depends on a language. What problem do you have with tmserver? |
Hi Nijel, I've looked for a long time on hosted.weblate.org and I've looked again, but I just can't find a language/ project where the "Machine Translation" tab is visible on the translation view. Can you maybe show me one? My problem with tmserver is that there is never any machine translation in the textfield on the machine translation tab. It's always empty. Neither with Weblate built-in machine translation. How do I know whether there is something wrong with my setup or the machine translation just can't suggest anything, because it hasn't learned enough about the current string? Shouldn't it at least suggest the current translation for already translated strings, since it looks for exact matches? So if I translate Weblate as Weblate (because it's a name), if I go back to that to translate again/ correct it, shouldn't machine translation show me Weblate as a suggestion, because it has learned that? Thanks a lot for your help! |
Does the browser do requests for the translations? Each service is requested separately. Also the built in service might be broken in some cases, see https://github.com/nijel/weblate/issues/1056 and https://github.com/nijel/weblate/issues/800 PS: And you need to be logged in to see machine translation on Hosted Weblate, it's available to authenticated users only. |
Hi, I am looking at the issue together with WorldCodeCentral and we tried to track why no search results are being displayed. Suddenly there are machine translation suggestions and probably they have been there the whole time and we just didn't look at the right strings to see them. Thank you so much for your help anyway! |
You can play with it in Django shell:
|
is it still open? i saw a hint regarding source language which solved my issue. previously i had source lang to english (United States) in projects. after i changed to en only my issue was gone. |
Thanks for the reply, I forgot to get back at you. We were able to make it work, my problem was that I didn't have enough strings that were similar enough. I still find it strange though that for an already translated string you don't get your translated string as machine translation output since it should fit 100% (exact match). At least I think this is why it did work later. So, issue can be closed as far as I am concerned. Thanks again. |
Hi everyone, I'm new to Weblate and can't get tmserver machine translation or the Weblate built-in one to work. See https://docs.weblate.org/en/latest/admin/machine.html#tmserver
BTW I'm also wondering whether there is a public Weblate server where I can try out on of these two machine translation services. So if anyone knows a public server that would be great.
Steps to reproduce
Actual behaviour
Nothig shows up under machine translation tab
Expected behaviour
Machine translation of string should show up, e.g. for strings that were already translated, shouldn't the present translation show up at least?
Server configuration
Please paste the output of command
./manage.py list_versions
over here` Weblate weblate-2.7-97-gf4c443d
The text was updated successfully, but these errors were encountered: