-
Notifications
You must be signed in to change notification settings - Fork 47
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
MTW is not translating #62
Comments
You must must select the translation configuration that you want to use. Your third screenshot shows that you selected "do not trans" late.That is why it is not translating. |
Anyway, the GUI could be improved to make it clear that a selection must be made. |
@ceilican: I have activated the translation, but I still can't see any change on the page |
I won't have time to investigate this issue deeply now. Note that, if the page is long, MTW takes a long time to display the translations. |
I've noticed this as an inconsistency between sites. For example, Wikipedia appears to work fine with a Yandex key, but Hacker News (news.ycombinator.com) does not. Working on Wikipedia: http://i.imgur.com/5W14c8i.gif I started debugging by looking at the function I'm a potential GSOC student, so I'm going to take some time now to look at the GSOC puzzles before moving back to this issue, but hopefully this information can get someone moving in the right direction. |
@alexklibisz The source words are empty because there are no On the other hand, if you see the comments page of YC, you will see translations But we can definitely look for other ways to implement it. |
A quick search got me this. You can get all the text in a document with the following code var body = document.body;
var textContent = body.textContent || body.innerText;
console.log(textContent); I tested it now, it does work. But speed is still an issue. |
@ankit-m I noticed that only |
@ankit-m @rohankatyal29, Was this issue solved? |
I can't seem to get MTW to translate. I am using yandex for the translations.
Here are the relevant screenshots:
The text was updated successfully, but these errors were encountered: