asd789789 Posted February 13, 2014 Share Posted February 13, 2014 I added up the code. <a href="#" class="scrollToTop">To top</a> how do I add a translation of this little button? language selection -> That change To Top Link to comment Share on other sites More sharing options...
PhpMadman Posted February 13, 2014 Share Posted February 13, 2014 use the l function. {l s='To Top'} // prestashop tpls {l s='To Top' mod="myshinymodule} // module tpl Link to comment Share on other sites More sharing options...
asd789789 Posted February 13, 2014 Author Share Posted February 13, 2014 (edited) <a href="#" class="scrollToTop">To top</a> change <a href="#" class="scrollToTop">{l s='To Top'}</a> or <a href="#" class="scrollToTop">{l s='To Top' mod='myshinymodule'}</a> ? text - 'to top' I create - fr.php - in my theme folder 'lang'. Add code: generate - http://www.md5.fr/ <?php global $_LANG; $_LANG = array(); $_LANG['myshinymodule_b29e5984cd12ebc977a12f4e1c57f12b'] = 'to top (french)'; return $_LANG; what am I doing wrong? Edited February 13, 2014 by templatejournal (see edit history) Link to comment Share on other sites More sharing options...
theme Posted February 15, 2014 Share Posted February 15, 2014 ))))))))) Link to comment Share on other sites More sharing options...
Recommended Posts