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

Multi-Language web page in few seconds 1.0.1

Multi-Language web page in few seconds

  1. Gopala Subramanium
    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:
    <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>
    In EXTRA.css add the following code:
    /* google translate */
    .google {
    float: right;
    margin-top: -35px;
    • 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.




    1. Google_Translate.jpg
    TheVisitors likes this.

Recent Reviews

  1. Adam Howard
    Adam Howard
    Version: 1.0.1
    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
  2. FredC
    Version: 1.0.0
    Working as described.