buluma / joomla-gtranslate

Automatically exported from code.google.com/p/joomla-gtranslate
0 stars 0 forks source link

Too Much recursion(jQuery). #81

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. on my site, there is a single page that has a total of about 300 KB of text 
data alone. most of it is not visible at all, mostly, they are hidden behind 
invisible elements that the user can select to make visible.  so load a site 
with that much text.

2. Try to translate it, either via google or jquery.

3. Check Error console 

You'd expect to see it translate what was viewable.

Is it possible to make it so that it only translates those elements whose 
visibility or display is not set to none or hidden?

Then as an element becomes visible, translate that element?

Even the google translate breaks with that much content, and I do understand 
this may not be possible for quite a bit, but I'd be willing to pay for a fix 
as well.

Please let me know, e-mail is: gregborbonus@gmail.com

Original issue reported on code.google.com by gregborb...@gmail.com on 1 Mar 2011 at 10:57