• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Unmaintained Multi-Language web page in few seconds 1.0.1

No permission to download
Very quickly make your web-page multi-language using Google Translate.

Demo: https://www.fixmystuff.in/FMS_Forum/

Put this code in the place where you want to put your translate option. I have put it in Logo Header region so that it is easily accessible to all users.

In logo_block add the following code:
Code:
<div class="google">
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'en',
    layout: google.translate.TranslateElement.InlineLayout.SIMPLE
  }, 'google_translate_element');
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</div>
In EXTRA.css add the following code:
Code:
/* google translate */
.google {
float: right;
margin-top: -35px;
}
Installation:
  • Upload contents of upload folder to root directory, overwriting any existing files.
  • Install addon-googleTranslate file.

You may donate basis your evaluation of the usefulness of the content to you. Donation is not mandatory, however it is greatly appreciated. A donation of USD 10 would be very helpful.



Thanks,
Likes: TheVisitors
Author
Gopala Subramanium
Downloads
85
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from Gopala Subramanium

Latest updates

  1. Multi-Language web page in few seconds [Widget]

    Very quickly make your web-page multi-language using Google Translate. Demo...

Latest reviews

The resources you save in not having to install or load translation packs saves on resources and makes your site faster. Also another way around one of XenForo's memory leaks. A well worth add-on to install. Thanks
Working as described.