Forum Archive - I cannot see the flags

I cannot see the flags
Apr 16, 2012 7:30 pm by cspgsl
Please read the translation method option description. If you have Google Default, you need to change it. Set the translation method to Redirect in the HTML widget but the flags are not there.... :shock:
Re: I cannot see the flags
Apr 17, 2012 4:02 pm by Yana
Hi, In order to use the flags you should use "Redirect" translation method with "Flags" or "Both" option instead of "Drop Down" . You can find the documentation here: https://gtranslate.io/docs/54-joomla-mo ... umentation https://gtranslate.io/docs/56-wordpress-documentation
Re: I cannot see the flags
Apr 17, 2012 4:14 pm by cspgsl
Did that the first time. I would include a screen shot but I see I cannot Here is the code the HTML widget created - there are no flags... <!-- GTranslate: http://gtranslate.net/ --> <a href="#" onclick="doGTranslate('en|en');return false;" title="English" class="gflag nturl" style="background-position:-0px -0px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="24" width="24" alt="English" /></a><a href="#" onclick="doGTranslate('en|fr');return false;" title="French" class="gflag nturl" style="background-position:-200px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="24" width="24" alt="French" /></a> <style type="text/css"> <!-- a.gflag {vertical-align:middle;font-size:24px;padding:1px 0;background-repeat:no-repeat;background-image:url('http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/24.png');} a.gflag img {border:0;} a.gflag:hover {background-image:url('http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/24a.png');} --> </style> <script type="text/javascript"> /* <![CDATA[ */ if(top.location!=self.location)top.location=self.location; window['_tipoff']=function(){};window['_tipon']=function(a){}; function doGTranslate(lang_pair) {if(lang_pair.value)lang_pair=lang_pair.value;if(lang_pair=='')return;if(location.hostname!='translate.googleusercontent.com' && lang_pair=='en|en')return;var lang=lang_pair.split('|')[1];if(typeof _gaq=='undefined')alert('Google Analytics is not installed, please turn off Analytics feature in GTranslate');else _gaq.push(['_trackEvent', 'doGTranslate', lang, location.pathname+location.search]);if(location.hostname=='translate.googleusercontent.com' && lang_pair=='en|en')location.href=unescape(gfg('u'));else if(location.hostname!='translate.googleusercontent.com' && lang_pair!='en|en')location.href='http://translate.google.com/translate?client=tmpg&hl=en&langpair='+lang_pair+'&u='+escape(location.href);else location.href='http://translate.google.com/translate?client=tmpg&hl=en&langpair='+lang_pair+'&u='+unescape(gfg('u'));} function gfg(name) {name=name.replace(/[[]/,"\[").replace(/[]]/,"\]");var regexS="[?&]"+name+"=([^&#]*)";var regex=new RegExp(regexS);var results=regex.exec(location.href);if(results==null)return "";return results[1];} /* ]]> */ </script> <script type="text/javascript" src="http://joomla-gtranslate.googlecode.com/svn/trunk/gt_update_notes0.js"></script>
Re: I cannot see the flags
Apr 17, 2012 5:07 pm by Yana
Hi, It works. I've saved your code in the blank html file and can see the flags. http://dc432.4shared.com/img/dPLMF1Id/s7/0.9920117049538546/Capture_3.JPG
Re: I cannot see the flags
Apr 17, 2012 5:11 pm by cspgsl
Hmmmm - would it be a setting in Joomla that is preventing it? The normal module works fine - just the html widget that doesn't
Re: I cannot see the flags
Apr 17, 2012 5:24 pm by Yana
Hi, Please read this article: http://rndm-snippets.blogspot.com/2011/ ... la-16.html I hope this will help you.

SIMILAR TOPICS

Onloading the plugin quickly flashes up flags and text namesFeb 7, 2019 3:29 pmReplies: 1Post by: brobertson
Flags Not Displaying Correctly GTranslateDec 19, 2018 10:16 amReplies: 1Post by: PetterParker
Set Dropdown with flags to scroll rather than expandNov 4, 2017 1:38 pmReplies: 5Post by: MinnieB
GTranslate Flags Not Displaying CorrectlyJul 20, 2017 3:47 amReplies: 3Post by: RTHamper
Shows all flags etc on top of page for 1 sec?May 2, 2017 11:15 amReplies: 1Post by: chrispl0

Try GTranslate with a free 15 day trial