Open GoogleCodeExporter opened 9 years ago
Onclick of the flag, I call an AJAX routine which executes the code:
$('body').translate('', 'es',{not: 'select'})
I pass the session variable to my Javascript routine at the bottom of the page
so
when the user changes pages the translation will occur. All seems to work as
far as
the functionality, but you'll notice that the translation stops in the middle.
I am also using version 1.3.9 of the translation tool.
I hope this additional information will help.
Original comment by internet...@prosurplusinc.com
on 16 Mar 2010 at 4:03
I'll try to look into it in the following days! I've seen a similar issue one
or two
times before but it wasn't easy to reproduce and identify where the problem is
exactly.
In the meantime you can also use
$('body').translateTextNodes('', 'es',{not: 'select'})
see more info about it here: http://code.google.com/p/jquery-
translate/wiki/TextnodeTranslatorIntegration
Original comment by balazs.endresz
on 16 Mar 2010 at 10:29
I have taken your suggestion and and using the "translateTextNodes" and seems
to be
working perfect now.
Thanks for your immediate help.
Dale
Original comment by internet...@prosurplusinc.com
on 16 Mar 2010 at 11:17
I had a similar problem with the "modified version of the plugin for the Bing
API". I monitored the _translate calls and noticed that somehow empty chunks of
source (src) where about to be translated and that the translation stopped
after this.
As a consequence I modified the buildup of "this.rawSources" in _init to not
contain any empty chunks by checking for data to push.
(about line 379: this.rawSources.push(substr); -> if (substr)
this.rawSources.push(substr);)
With this patch - my problem seems to be solved.
Thank you for the plugin!
best regards
Ludger Merkens
Original comment by kont...@cms-merkens.de
on 12 Jan 2012 at 12:32
Original issue reported on code.google.com by
internet...@prosurplusinc.com
on 15 Mar 2010 at 8:32