Custom code not trasnlating

Popular automatic website translation tool

Custom code not trasnlating

Postby peaceandlove » Sun Apr 13, 2014 6:45 am

Here is our website

http://caribbeanscooterrentals.com/

You can see flags on the top, we are using Joomla 3

I had made a new module 'custom html' and place the following code

Code: Select all
<p><a class="alt_flag" style="background-position: -0px -200px;" title="English" onclick="doGTranslate('en|en');return false;" href="#"><img src="flags/canada.png" alt="English" width="32" height="32" /></a><a class="alt_flag" style="background-position: -0px -200px;" title="English" onclick="doGTranslate('en|en');return false;" href="#"><img src="flags/usa.png" alt="English" width="32" height="32" /></a><a class="flag nturl" style="background-position: -700px -0px;" title="Danish" onclick="doGTranslate('en|da');return false;" href="#"><img src="flags/danish.png" alt="Danish" width="32" height="32" /></a><a class="flag nturl" style="background-position: -200px -100px;" title="French" onclick="doGTranslate('en|fr');return false;" href="#"><img src="flags/france.png" alt="French" width="32" height="32" /></a><a class="flag nturl" style="background-position: -300px -100px;" title="German" onclick="doGTranslate('en|de');return false;" href="#"><img src="flags/germany.png" alt="German" width="32" height="32" /></a><a class="flag nturl" style="background-position: -600px -100px;" title="Italian" onclick="doGTranslate('en|it');return false;" href="#"><img src="flags/italy.png" alt="Italian" width="32" height="32" /></a><a class="flag nturl" style="background-position: -500px -200px;" title="Russian" onclick="doGTranslate('en|ru');return false;" href="#"><img src="flags/russia.png" alt="Russian" width="32" height="32" /></a><a class="flag nturl" style="background-position: -600px -200px;" title="Spanish" onclick="doGTranslate('en|es');return false;" href="#"><img src="flags/spain.png" alt="Spanish" width="32" height="32" />&nbsp;</a>
</p>


But when we click any lanaguge , nothing happend.

Does i missed something in the code.
peaceandlove
 
Posts: 13
Joined: Sat Apr 12, 2014 4:15 pm

Re: Custom code not trasnlating

Postby Edvard » Sun Apr 13, 2014 2:47 pm

Hi,

I can see that you have placed only the flags, but not the javascript and css code.

You need to get our HTML widget from https://gtranslate.io and make modifications on it.

Thanks!
Regards,

Edvard Ananyan - 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
Edvard
Site Admin
 
Posts: 4185
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Custom code not trasnlating

Postby peaceandlove » Sun Apr 13, 2014 3:29 pm

Thanks I got your point and what i missed , will try to make it work
peaceandlove
 
Posts: 13
Joined: Sat Apr 12, 2014 4:15 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux