jquery-translate version: last version
jQuery version: last from yours site
browser: firefox
OS: Linux
What steps will reproduce the problem?
1. add to yours HTML text: <span class="notranslate">Congratulations</span>
2. It must be not translate, but it translated
for fix that in file jquery.translate.js
in function process
below rows :
var nodeName = el.nodeName.toUpperCase(),
type = nodeName === "INPUT" && $.attr(el, "type").toLowerCase();
Need add rows:
var notranslate = nodeName === "SPAN" && $.attr(el, "class") ;
if(nodeName === "SPAN" && notranslate != undefined ) { notranslate = $.attr(el, "class").toLowerCase(); }
if(notranslate === "notranslate" )
return this.process();
and all start work.
because that not ours project - we not support it, but work code you will can
find on http://ordasoft.com - project has name sefTranslate, translation for
joomla site
Thanks for all for what that will useful,
Andrew
Original issue reported on code.google.com by akb...@gmail.com on 4 Apr 2012 at 1:46
Original issue reported on code.google.com by
akb...@gmail.com
on 4 Apr 2012 at 1:46