callback on doGTranslate function?

Popular automatic website translation tool

callback on doGTranslate function?

Postby winman » Mon Jan 05, 2015 3:25 am

i use free version and add html code:
<a href="#" onclick="doGTranslate('en|zh-CN'); return false;" ...

the problem is doGTranslate() changes text in my hover menu,
I need to catch when the function doGTranslate finished the job
so i can update menu.

Is there any parameter "callback" to function doGtranslate(...)?

Many thanks.
Posts: 1
Joined: Mon Jan 05, 2015 3:19 am

Re: callback on doGTranslate function?

Postby Edvard » Mon Jan 05, 2015 2:00 pm

You may try adding class="notranslate" to your menu instead.


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

  • Related Topics
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest