【问题标题】:Any way to add Google's "Contribute a better translation" feature to the "TranslateThis Button"?有什么方法可以将 Google 的“贡献更好的翻译”功能添加到“TranslateThis 按钮”?
【发布时间】:2013-05-10 00:01:04
【问题描述】:

我正在使用TranslateThis Button 翻译我的网站。它本质上是一个使用Google Translate 的插件,但我更喜欢它而不是标准的谷歌翻译,因为它具有简单的回调功能:

TranslateThis({
onComplete : function() {
    // whatever you want to run on complete
    alert('callback working');
}

^ 这对于在网站翻译后调整布局非常有用。

然而,它似乎缺少的一个功能是谷歌翻译的“提供更好的翻译”功能,当用户将鼠标悬停在翻译的文本上时,它允许用户提交更好的翻译。有谁知道是否有办法提取该代码并在这里实现它?或者有没有办法可以用常规的谷歌翻译实现类似的回调函数?任何想法将不胜感激。

谢谢!

【问题讨论】:

    标签: function callback translation google-translate


    【解决方案1】:

    此功能似乎已被 google 撤消。 参考链接https://groups.google.com/forum/?fromgroups#!topic/google-translate-general/_xNSpNUIn_0 来自谷歌翻译高级软件工程师 Josh Estelle 的回应

    【讨论】:

      猜你喜欢
      • 2019-04-20
      • 1970-01-01
      • 2017-06-18
      • 1970-01-01
      • 2023-04-01
      • 1970-01-01
      • 2021-01-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多