我已经使用谷歌翻译作为语言转换器在我的网站,但它显示恼人的工具提示称为'原始文本'。我该如何禁用此功能以及其他更好的创意/工具/ API才能做到这一点?如何禁用谷歌翻译原文工具提示
谢谢。 使用的代码...
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');
}
</script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
这是为了隐藏Google注入页面的UI。如果有人想避免注入的UI(而是依赖于自定义或横幅iframe),只需在调用其脚本之前嵌入div即可。 – patridge 2011-06-09 18:33:41