【问题标题】:Menu dropdown messed up after translating page using Google translator使用谷歌翻译器翻译页面后菜单下拉菜单混乱
【发布时间】:2011-08-08 12:15:03
【问题描述】:

在我使用即时 Google 翻译器翻译了页面后,我的菜单下拉菜单现在变得一团糟。它拒绝识别我创建并用于排除的 CSS 类(例如,我有一个像 class="notranslate" 这样的类,它不再工作了)。

出于演示目的,我有源代码 here

注意:必须先注册到网站。任何帮助将不胜感激。谢谢

【问题讨论】:

    标签: translation google-translate drop-down-menu code-translation google-translator-toolkit


    【解决方案1】:

    不知道发生了什么,但看看这个工具:Translate This

    这使用谷歌翻译,但更容易使用。

    希望对你有帮助。

    【讨论】:

    • 感谢您的建议。我刚刚添加了
      ,现在一切正常。
    • 好的,但请确保您知道这一点:Google Translate API 已于 2011 年 5 月 26 日正式弃用。由于广泛滥用造成的巨大经济负担,您的请求数量每天可能会受到限制,API 将在 2011 年 12 月 1 日完全关闭。对于网站翻译,我们鼓励您使用 Google Translate Element。 (不确定您使用的是该 API 还是 API)仅供参考
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-06-02
    相关资源
    最近更新 更多