infoseek Posted May 9, 2010 Share Posted May 9, 2010 for example,if I want to add a string reads "show module/hide module" in the front office,but I don't know where can I translate this in to french, chinese or the other,I know there are files cn.php fr.php in the my module directory, when I read other files (ie:en.php cn.php fr.php) in other module directoriesI see <?php global $_MODULE; $_MODULE = array(); $_MODULE['<{coremanager}prestashop>coremanager.filtersearch.lang_e77fef0167598bb39846637ac3915f4e'] = 'Effacez Tous'; $_MODULE['<{coremanager}prestashop>coremanager.filtersearch.lang_d8c170dfe1753654402ffecc258f130d'] = 'Gamme de prix'; $_MODULE['<{coremanager}prestashop>coremanager.filtersearch.lang_2377be3c2ad9b435ba277a73f0f1ca76'] = 'Fabricants'; $_MODULE['<{coremanager}prestashop>coremanager.filtersearch.lang_275f2fb697ac3ddd8ba75844971d3f1c'] = 'Voir moins'; so I'm confused what this long strings mean and how can I creat my own,I have searched the forum,and found a thread here http://www.prestashop.com/forums/viewthread/36857/translation_packs/translate_module_related_strings_front_and_back_office/but I still can't find a solution,I need your help,thank you. Link to comment Share on other sites More sharing options...
jeckyl Posted May 9, 2010 Share Posted May 9, 2010 hi,you put your string in your tpl files like this {l s="my text" mod="my mod"} and you can see this text in translation service in your backoffice.If you want to trnslate in other langage you can activate this in your backoffice to manage translations. 1 Link to comment Share on other sites More sharing options...
infoseek Posted May 9, 2010 Author Share Posted May 9, 2010 many thanks jeckyl for your quick replyit works! ;-) Link to comment Share on other sites More sharing options...
rocky Posted May 9, 2010 Share Posted May 9, 2010 Topic movedIf your issue is resolved, please edit your first post and add [sOLVED] to the front of the title. 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