GT v1.0.13 in WP 3.1 not working
Mar 25, 2011 11:58 am by kellybellis
Mar 25, 2011 11:58 am by kellybellis
GTranslate 1.0.13 is not working in WP3.1
It downloads, installs and seems at first to be configurable through settings... however, an unexpected behavior was observed: after adding two flags to the default set; Icelandic and Swedish, the flags appear above the Select Language pull down, but note immediately those two check boxes get cleared. This is a minor point.
The major point is nothing else works; that is, there is no translation - at all - regardless of clicking on a flag or using the select language pull down.
Searching completely through gtranslate.php for:
<form id="gtranslate" name="form1" method="post" action="<?php echo get_admin_url() . '/options-general.php?page=gtranslate_options' ?>">
comes up empty.
However, at line 261 we find this:
<form id="gtranslate" name="form1" method="post" action="<?php echo get_option('siteurl') . '/wp-admin/options-general.php?page=gtranslate_options' ?>">
Please advise.
Thanks.
Kelly
Re: GT v1.0.13 in WP 3.1 not working
Mar 25, 2011 12:01 pm by Edvard
Mar 25, 2011 12:01 pm by Edvard
Can I test it on your site?
Re: GT v1.0.13 in WP 3.1 not working
Mar 25, 2011 12:06 pm by kellybellis
Mar 25, 2011 12:06 pm by kellybellis
Sure!
panocea.us
Re: GT v1.0.13 in WP 3.1 not working
Mar 25, 2011 1:54 pm by kellybellis
Mar 25, 2011 1:54 pm by kellybellis
Firebug shows this error:_gaq is not defined
http://panocea.us/
Line 383
and then looking at 383 we see:function doGTranslate(lang_pair) {if(lang_pair.value)lang_pair=lang_pair.value;var lang=lang_pair.split('|')[1];_gaq.push(['_trackEvent', 'GTranslate', lang, location.pathname+location.search]);jQuery.cookie('glang', lang, {path: '/'});jQuery(function($){$('body').translate('en', lang, {toggle:true, not:'.notranslate'});});}
//]]>
Re: GT v1.0.13 in WP 3.1 not working
Mar 26, 2011 11:29 am by Edvard
Mar 26, 2011 11:29 am by Edvard
OK, you have turned on analytics feature in GTranslate, but you don't have Google Analytics _gaq code installed on your site, that's why it doesn't work. You need to turn it off or install _gaq code.
Re: GT v1.0.13 in WP 3.1 not working
Mar 26, 2011 2:07 pm by kellybellis
Mar 26, 2011 2:07 pm by kellybellis
Hi Edvard,
Thank you very much for your reply.
Actually I do have Google Analytics installed ... but had screwed it up! Thanks for keeping me honest!! I just checked with the source code and it's been generated correctly and also with Google which confirmed that it was installed correctly... and if anybody reading wonders if they have it installed correctly or not, here's how to find out:
http://www.google.com/support/analytics/bin/answer.py?answer=57053
One last thing Edvard, please change my user name to Kelly or otherwise, please delete my account. Having my email address so readily available is not allowed.
Thank you very much for your great work and help.
Kind regards,
Kelly
Re: GT v1.0.13 in WP 3.1 not working
Mar 26, 2011 5:06 pm by Edvard
Mar 26, 2011 5:06 pm by Edvard
You can change your username yourself from user control panel.
Re: GT v1.0.13 in WP 3.1 not working
Mar 26, 2011 5:52 pm by kellybellis
Mar 26, 2011 5:52 pm by kellybellis
No, I can't - the field is fixed.
Re: GT v1.0.13 in WP 3.1 not working
Mar 26, 2011 6:02 pm by Edvard
Mar 26, 2011 6:02 pm by Edvard
Just did it.
Re: GT v1.0.13 in WP 3.1 not working
Mar 26, 2011 7:42 pm by kellybellis
Mar 26, 2011 7:42 pm by kellybellis
Thank you so much Edvard
I've added a link and a post to your site from mine.. in case you'd like to know.
http://panocea.us/2011/03/26/
Kind regards,
Kelly
Re: GT v1.0.13 in WP 3.1 not working
Sep 27, 2011 12:15 pm by [email protected]
Sep 27, 2011 12:15 pm by [email protected]
Thank you so much Edvard
I've added a link and a post to your site from mine.. in case you'd like to know.
http://panocea.us/2011/03/26/
Kind regards,
Kelly
Just did it as you posted. Smooth! Thank you!!
SIMILAR TOPICS
Drop down is not working??? | Sep 30, 2018 11:05 am | Replies: 1 | Post by: vijayparmar |
Cart stopped working | Sep 1, 2018 12:10 pm | Replies: 3 | Post by: willsonjayram |
Plugin Not Working | Mar 10, 2018 6:49 pm | Replies: 11 | Post by: wsjiii |
Enterprise URLs not working | May 14, 2018 8:25 pm | Replies: 1 | Post by: dpitfield |
Translation link not working after module upgrade | Nov 28, 2017 11:45 pm | Replies: 1 | Post by: andru |