![]() |
|
|
|
|
|||||||
| Javascript / Java Applets Are you a JavaScript guy? Do you need help with JavaScript? This is the place to talk about anything related to Java. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
As you know Google have a service for translating the pages. How to block or add Google Translate in a site from my hosting?
|
|
#2
|
||||
|
||||
|
This is a module of Google to translate a page in all other languages:
HTML Code:
<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> HTML Code:
pageLanguage: 'en', includedLanguages: 'en,fr,de' HTML Code:
<meta name="google" value="notranslate"> <meta name="google" value="notranslate"> HTML Code:
<div class="notranslate">
|
|
#3
|
|||
|
|||
|
that really helps. thank you for this one.
|
![]() |
| Tags |
| adding, blocking, google, hosting, site, translate |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|