乌尔都语到英语的翻译不能正常工作100%?

时间:2018-11-02 13:16:28

标签: google-translate

我正在使用带有以下代码的google分段翻译按钮。

<script type="text/javascript">
function googleSectionalElementInit() {
new google.translate.SectionalElement({
   sectionalNodeClassName: 'goog-trans-section',
   controlNodeClassName: 'goog-trans-control',
   background: '#f4fa58'
}, 'google_sectional_element'); }
</script>
<script type="text/javascript"  src="//translate.google.com/translate_a/element.js?cb=googleSectionalElementInit&ug=section&hl=en"></script>
<div class="goog-trans-control"></div>

翻译不能100%有效,可以在以下链接上查看

https://www.dawnnews.tv/news/1090393/ https://www.dawnnews.tv/news/1090381/

我也使用了整页翻译脚本

<div id="google_translate_element"></div>
<script type="text/javascript">
  function googleTranslateElementInit() {
    new google.translate.TranslateElement({pageLanguage: 'ur', includedLanguages: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, gaTrack: true, gaId: 'XX-XXXXXXXX-X'}, 'google_translate_element');
  } 
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

0 个答案:

没有答案