Google Translate Tools let you embed a translation dropdown in your website that lets users translate pages. However, this preference is only for that page...as soon as they click to a different page on the site, they have to re-select the language.
Any ideas on how to make this preference persistent? Is there an option for Google Translate that I'm missing (it seems like this would be an extremely common use case)? Or am I stuck using jQuery to set a cookie and then trigger a click event for the desired <option> on each page load?
Translate an entire web page directly from Google Translate, simply by entering its address (e.g. "www.google.com") into the input box and clicking Translate.
It means going on http://translate.google.com/ and doing that. I believe it even gives a different translation from the Tools.
发布评论
评论(3)
我最终使用 http://translateth.is 代替。它包含此功能。
I ended up using http://translateth.is instead. It has this feature included.
您可以使用 jquery 来执行此操作,
例如: http://sitehelp.com.au/jtranslate/
You can use jquery to do this,
An example: http://sitehelp.com.au/jtranslate/
来自 Google 翻译支持:
这意味着访问 http://translate.google.com/ 并执行此操作。我相信它甚至给出了与工具不同的翻译。
From google translate support:
It means going on http://translate.google.com/ and doing that. I believe it even gives a different translation from the Tools.