balazs-endresz / jquery-translate

Automatically exported from code.google.com/p/jquery-translate
5 stars 5 forks source link

conflict with jquery.countdown #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
if i try to translate something that contains a div that has been populated
with jquery.countdown the page translates correctly the first time but it
will not translate any more...

this got fixed excluding that div from the translation...

i am not really sure if it is jquery.countdown specific or what is going on
but maybe someone reads this and dosnt have to try and find out what the
problem is when translator is not working as it should everytime..

Thanks for the great plugin!!

Original issue reported on code.google.com by forti...@gmail.com on 18 Oct 2009 at 6:46

GoogleCodeExporter commented 9 years ago
http://keith-wood.name/countdown.html

On this page the container translated fine using this: 
$("#default").translate(to);

But $("#default").translate(from, to) translates only until the counter the 
second time.

I think it's related to the way the plugin handles previous translations and 
the original 
source language with $.data, and the changing content of the countdown might 
mess that up 
somehow.

Anyway, thanks for reporting the bug, I will look into it sometime!

Original comment by balazs.endresz on 18 Oct 2009 at 8:06

GoogleCodeExporter commented 9 years ago
With 1.4.1 it seems to be working fine, please reopen this issue if you still 
have the 
problem!

Original comment by balazs.endresz on 24 Oct 2009 at 1:02