Resource icon

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,
  • Google_Translate.webp
    Google_Translate.webp
    10.5 KB · Views: 357
Author
Gopala Subramanium
Downloads
89
Views
771
First release
Last update

Ratings

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.
Top Bottom