alfredopacino Posted February 12, 2014 Share Posted February 12, 2014 (edited) hi, in \themes\leoconv\modules\bankwire\translations\it.php i have those for translate the the line of bank wire order code $_MODULE['<{bankwire}leoconv>payment_return_63fb3f7c94ee5d8027bf599885de279d'] = 'Non dimenticarti di inserire il tuo numero d\'ordine <span class="ordercode">#%d</span> nel campo oggetto del tuo bonifico.'; $_MODULE['<{bankwire}leoconv>payment_return_1faa25b80a8d31e5ef25a78d3336606d'] = 'Non dimenticarti di inserire la tua referenza d\'ordine <span class="ordercode">%s</span> nel campo oggetto del tuo bonifico.'; Non dimenticarti di inserire la tua referenza d'ordine<span class=""ordercode"">PKQAJAAQT</span>nel campo oggetto del tuo bonifico. DOUBLE quote in span class! how can i solve this strange issue? Edited February 12, 2014 by alfredopacino (see edit history) Link to comment Share on other sites More sharing options...
DevNet Posted February 12, 2014 Share Posted February 12, 2014 Hi, You can simply replace the doublequote by : \" Like this : $_MODULE['<{bankwire}leoconv>payment_return_63fb3f7c94ee5d8027bf599885de279d'] = 'Non dimenticarti di inserire il tuo numero d\'ordine <span class=\"ordercode\">#%d</span> nel campo oggetto del tuo bonifico.'; $_MODULE['<{bankwire}leoconv>payment_return_1faa25b80a8d31e5ef25a78d3336606d'] = 'Non dimenticarti di inserire la tua referenza d\'ordine <span class=\"ordercode\">%s</span> nel campo oggetto del tuo bonifico.'; Regards Link to comment Share on other sites More sharing options...
alfredopacino Posted February 12, 2014 Author Share Posted February 12, 2014 Hi, You can simply replace the doublequote by : \" Like this : $_MODULE['<{bankwire}leoconv>payment_return_63fb3f7c94ee5d8027bf599885de279d'] = 'Non dimenticarti di inserire il tuo numero d\'ordine <span class=\"ordercode\">#%d</span> nel campo oggetto del tuo bonifico.'; $_MODULE['<{bankwire}leoconv>payment_return_1faa25b80a8d31e5ef25a78d3336606d'] = 'Non dimenticarti di inserire la tua referenza d\'ordine <span class=\"ordercode\">%s</span> nel campo oggetto del tuo bonifico.'; Regards yep i solved but i would to know why PS adds an extra quote..not so "relaxing" as php developer Link to comment Share on other sites More sharing options...
DevNet Posted February 12, 2014 Share Posted February 12, 2014 Also test with \' instead \" html tags run with the simple quote. Link to comment Share on other sites More sharing options...
El Patron Posted February 12, 2014 Share Posted February 12, 2014 maybe you should code your html/css in the .tpl file (surround) the $this->l('text') so that it is not in your translation field. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now