Can I translate my website with Google Translate? -


i have web page created in english. depending on continent, want dynamically translate whole webpage language.

the webpage complex, cannot string string. want in way @ time of loading translated desired language.

can translate webpage using google translate api?

here example to add google translator web page translate specific element:

<html>      <head>      <title>my page</title>      <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head>  <body>      <div class="translate">Тестирование</p>     <div class="translate_control" lang="en"></div>      <script>     function googlesectionalelementinit() {       new google.translate.sectionalelement({         sectionalnodeclassname: 'translate',         controlnodeclassname: 'translate_control',         background: '#f4fa58'       }, 'google_sectional_element');     }     </script>     <script src="//translate.google.com/translate_a/element.js?cb=googlesectionalelementinit&ug=section&hl=en"></script>  </body> </html> 

http://jsfiddle.net/maxim75/h3wkr/ - working example


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -