User Ratings
Rate This Project
Login To Rate This Project
User Reviews
-
I was very happy with the Joomla! mod Ajax Google Translator. Why? Because the Google API V1 is recently (Dec 1, 2011) discontinued and now in the V2 only available for TOP $$ from Uncle Google. The mod from manish2535 was the next best thing, but as you can see in the PHP-script it is overriding certain CSS statements to (among other things) get rid of the annoying pop-up, which offers you to review the original language text, while hovering the webpage. But: the Google developers aren't wasting time at all. They change code on the fly and before you finished your website your perfect working Joomla! module isn't so perfect anymore and quit working. So, I spend some time on a rainy Sunday afternoon and made a mod to the mod :-) Replace the appropriate lines in the PHP-script of manish2535 with the code below, and you're good as new. Of course all the flowers go to manish2535, who invented this mod in the first place. Enjoy !! /Hans Altena (webmaster@mokumonline.com) =========================== START CODE ========================== <?php //remove Suggestion Box if ($remsuggbox==1) { ?> <script> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'en' }); } </script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> <style> .goog-te-balloon-frame{display: none !important; box-shadow: none !important; -moz-box-shadow: none !important; -webkit-box-shadow none !important;} font{background: transparent !important;} .goog-te-balloon{display: none !important;} #goog-gt-tt{display: none !important; text-decoration:none; box-shadow: none !important; -moz-box-shadow: none !important; -webkit-box-shadow none !important;} font{background: transparent !important;} #goog-gt-tt .status-message {text-shadow: none !important;} #goog-gt-tt .alt-menu, .goog-text-highlight, #goog-gt-tt .trans-target-highlight, #alt-input-text:hover, #alt-input-text:focus {box-shadow: none !important; -moz-box-shadow: none !important; -webkit-box-shadow none !important;} </style> <?php } ?> =========================== END CODE ==========================
- Previous
- You're on page 1
- Next