View Full Version : Google Webpage translation why does it do this? how can i fix it?

09-07-2008, 05:57 PM

I have recently installed google translation on my site, simply by copying the urls and linking them up with images. The problem im having is once translated to a language when you try and translate to another it trys to translate that link using the translation before, if you know what i mean. (Try it out yourself and you will know what i mean http://www.missingstudios.com)

Is there anyway i can fix this? one idea i had is it possible to separate a certain section from the translate or something?

I would really appreciate some help with this


09-07-2008, 06:42 PM
I don't know about Google Translation, but here's a guess:

Is it because it's only installed on the 'English' part of your site? So when your trying to translate it again, it can't find the 'stuff' it needs.

Just a thought.

09-08-2008, 03:23 PM
To fix that you'd have to make the translation urls static, or remove the google parameters from it, because otherwise, the google code tries to translate from the page being viewed (which when translated is the translated url)

09-08-2008, 06:48 PM
To fix that you'd have to make the translation urls static, or remove the google parameters from it, because otherwise, the google code tries to translate from the page being viewed (which when translated is the translated url)

Thanks that seems to make sense how would i do this?

09-08-2008, 08:51 PM
Ok, what code did you put on your website (just the bit for the translation)? (PHP Source, if that's the case)

09-08-2008, 10:02 PM
<!-- Translate -->
<img src="images/site/nav_translate.png" />
<a href="http://www.missingstudios.com" target="_blank"><img src="images/flags/english.PNG" border="1" title="English" /></a> <a href="http://translate.google.com/translate_p?client=tmpg&amp;hl=en&amp;langpair=en|de&amp;u=http://www.missingstudios.com/" target="_blank"><img src="images/flags/germany.PNG" border="1" title="German" /></a></a>
<a href="http://translate.google.com/translate_p?client=tmpg&amp;hl=en&amp;langpair=en|fr&amp;u=http://www.missingstudios.com/" target="_blank"><img src="images/flags/french.PNG" border="1" title="French" /></a></a> <a href="http://translate.google.com/translate_p?client=tmpg&amp;hl=en&amp;langpair=en|es&amp;u=http://www.missingstudios.com" target="_blank"><img src="images/flags/spanish.PNG" border="1" title="Spanish" /></a>
<a href="http://translate.google.com/translate_p?client=tmpg&amp;hl=en&amp;langpair=en|el&amp;u=http://www.missingstudios.com" target="_blank"><img src="images/flags/greek.PNG" border="1" title="Greek" /></a>
<a href="http://translate.google.com/translate_p?client=tmpg&amp;hl=en&amp;langpair=en|zh-CN&amp;u=http://www.missingstudios.com/" target="_blank"><img src="images/flags/chinese.PNG" border="1" title="Chinese (Simplified)" /></a> <a href="http://translate.google.com/translate_p?client=tmpg&amp;hl=en&amp;langpair=en|nl&amp;u=http://www.missingstudios.com" target="_blank"><img src="images/flags/dutch.PNG" border="1" title="Dutch" /></a>
<a href="http://translate.google.com/translate_p?client=tmpg&amp;hl=en&amp;langpair=en|da&amp;u=http://www.missingstudios.com/" target="_blank"><img src="images/flags/danish.PNG" border="1" title="Danish" /></a>
<a href="http://translate.google.com/translate_p?client=tmpg&amp;hl=en&amp;langpair=en|it&amp;u=http://www.missingstudios.com/" target="_blank"><img src="images/flags/itallian.PNG" border="1" title="Italian" /></a>
<a href="http://translate.google.com/translate_p?client=tmpg&amp;hl=en&amp;langpair=en|ru&amp;u=http://www.missingstudios.com/" target="_blank"><img src="images/flags/russian.PNG" border="1" title="Russian" /></a> <a href="http://translate.google.com/translate_p?client=tmpg&amp;hl=en&amp;langpair=en|sv&amp;u=http://www.missingstudios.com/" target="_blank" title="Swedish"><img src="images/flags/swedish.PNG" border="1" /></a>
<a href="http://translate.google.com/translate_p?client=tmpg&amp;hl=en&amp;langpair=en|no&amp;u=http://www.missingstudios.com/" title="Norweigan" target="_blank"><img src="images/flags/norwegian.PNG" border="1" /></a>

09-08-2008, 10:08 PM
Hmm, it's weird that that code gets switched by google...

Try doing this before that code:

<? $site_url = "http://www.missingstudios.com/"; ?>

And then on that html code, replace http://www.missingstudios.com/ by


And let us know how did that workout.

09-08-2008, 10:16 PM
hmm its not making any difference :confused:

09-08-2008, 10:53 PM
I suspected that... google parses your url in there when translating... I have no idea how to bypass that... I'd have to google around

04-03-2009, 06:23 AM
I didn't know about the google translation. But I often the italian translation (http://www.bestitaliantranslation.com/) . I think that it's very well. Perhaps you can try it.

04-04-2009, 12:03 AM

This thread is very old.....