balazs-endresz / jquery-translate

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

links injected in buttons and headers #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I use jquery-translate to translate large pages. Occasionally I experience
two issues:

1) text gets injected into INPUT[type=submit] values.

2) text gets injected in other locations, for example it turns a h3 into a
link even if it was not originally a link.

The injected text is always a "<a href=...>...</a>" that appears somewhere
else in the page. 

Original issue reported on code.google.com by massimod...@gmail.com on 30 May 2010 at 2:23

GoogleCodeExporter commented 9 years ago
BTW. I use firefox 3.5.9 on mac.

Original comment by massimod...@gmail.com on 30 May 2010 at 2:30

GoogleCodeExporter commented 9 years ago
Sorry for replying so late, if I could see a test page that would be really 
helpful. Though most likely it's because html markup is not preserved 
consistently after translation, which can cause similar issues. But that's why 
there's an other way to translate html, by translating only the textnodes, 
without any html tags, which is less error-prone: 
http://code.google.com/p/jquery-translate/wiki/TextnodeTranslatorIntegration

Original comment by balazs.endresz on 20 Jun 2010 at 11:39

GoogleCodeExporter commented 9 years ago

Original comment by balazs.endresz on 11 Mar 2011 at 7:26