cant translate https:// ssl

Popular automatic website translation tool

cant translate https:// ssl

Postby wolepua » Sun Nov 25, 2012 1:02 pm

hai,im using smarty template...

when i click a flag,its direct in to google page


Sorry, this URL is invalid

here's the code
Code: Select all
<!-- GTranslate: -->
<a href="#" onclick="doGTranslate('en|zh-CN');return false;" title="Chinese (Simplified)" class="gflag nturl" style="background-position:-300px -0px;"><img src="" height="16" width="16" alt="Chinese (Simplified)" /></a><a href="#" onclick="doGTranslate('en|en');return false;" title="English" class="gflag nturl" style="background-position:-0px -0px;"><img src="" height="16" width="16" alt="English" /></a><a href="#" onclick="doGTranslate('en|id');return false;" title="Indonesian" class="gflag nturl" style="background-position:-300px -300px;"><img src="" height="16" width="16" alt="Indonesian" /></a><a href="#" onclick="doGTranslate('en|ms');return false;" title="Malay" class="gflag nturl" style="background-position:-400px -500px;"><img src="" height="16" width="16" alt="Malay" /></a>

<style type="text/css">
a.gflag {vertical-align:middle;font-size:16px;padding:1px 0;background-repeat:no-repeat;background-image:url('');}
a.gflag img {border:0;}
a.gflag:hover {background-image:url('');}

<script type="text/javascript">
/* <![CDATA[ */
function doGTranslate(lang_pair) {if(lang_pair.value)lang_pair=lang_pair.value;if(location.hostname!='' && lang_pair=='en|en')return;else if(location.hostname=='' && lang_pair=='en|en')location.href=unescape(gfg('u'));else if(location.hostname!='' && lang_pair!='en|en')location.href=''+lang_pair+'&u='+escape(location.href);else location.href=''+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 type="text/javascript" src=""></script>

and how to translate all page,only in my site.,.not direct to google page?

Posts: 1
Joined: Sun Nov 25, 2012 12:56 pm

Re: cant translate https:// ssl

Postby Yana » Mon Nov 26, 2012 6:03 pm

Can you please post your domain name so I can check it?
You should buy the GTranslate Pro version or use GTranslate Enterprise service. I this case you will have SEF URLs for each translated language and the search engines will index the translated pages. You can find more info here

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Posts: 4087
Joined: Thu Jan 12, 2012 6:21 pm

  • Related Topics
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests