×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Problems with Google Translation and Hotspots

Problems with Google Translation and Hotspots 12 years 5 months ago #16380

  • Holger Knoth
  • Holger Knoth's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
Hello,

I have a automatic Google translations integration in my website (GTranslate).
But it works not with hotspots. The hotspots map is only showing "loading Date" I a user switch the language.

You can see it here:
http://www.canoeguide.net/kanutouren-in-deutschland

If you then push a foreign flag (top right corner), British for example, you can see that the maps newer will show the landscape and the markers.

Does anybody have an idea or a solution for this?

Thanks for an answer.
hokno

Re: Problems with Google Translation and Hotspots 12 years 5 months ago #16384

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Google translate can only translate text that is on the page, when the page loads.

This is not really the case with Hotspots. We only have parts of the application on the page. Once the page is loaded we do ajax requests to get the data. This "loading data" window is created through javascript and that is why google translate can't tranlsate it - it has not idea that such window exist at all.

With that said - you can only translate that information through joomla. We use the multilingual function in joomla for translations. So if you switch your language to spanish - you should see a spanish translation for this text.

If you look into the source code of your page you will see something like this:
Hotspots.Localization = {"directions":"Route berechnen","getDirections":"Route berechnen","zoom":"Zoom","to":"nach",....

Google needs to translate this thing, but since it is all a javascript object google translate is not touching it as it might brake something...

Cheers,
Daniel
  • Page:
  • 1
Time to create page: 0.105 seconds