Search the Community
Showing results for tags 'translations modules'.
-
Hi everyone. I am trying to translate my installation of Prestashop into Slovak language. Unfortunately, module translations do not show on the website. Phrases that were supplied with the installation are working all right. However, when I try to do further translations in the back-office, everything gets saved correctly, even the sk.php file in the themes\[themename]\modules\[modulename] gets updated. The This is my second Prestashop implementation. In the previous one (same Prestashop version, different template), I had similar problems, but I have worked around them translating the phrases in the TPL files direcly. This time, I will require to have the site in several languages. Namely, I have problem with blockcart module in both default and other themes, but there are also others that are not working (probably all?) Has anyone encountered similar issue, or has a clue how to solve this? Many thanks for any advice on that.
-
Hi, I am currently using two modules, lets call this module1 and module2 in prestashop v1.3, which are both very similar in terms of strings used. module1 is a standard module with translations in almost every language, while module2, is a modification of module1, which only has a few translations avalaible. The thing is to reuse module1 translations in module2. I tried the following options: 1) I thought about copying module1/de.php to module2/de.php. These are just two examples: In module1/es.php: $_MODULE['<{module1}prestashop>module1_1f9497d3e8bac9b50151416f04119cec'] = 'Pago contra reembolso'; In module2/es.php: $_MODULE['<{module2}prestashop>module2_271486149ca62b2f6ae5d9ae97cb769a'] = 'Pago contra reembolso'; The problem is that the md5 is different althought the string is the same. How can I reuse the translations? Why md5 are different? How can I calculate those? 2) I also thought about using mod='module1' in module2 module: {l s='Pay with cash on delivery (COD)' mod='module1'} But it does not seem to work. 3) I also thought about using the following sintax which I have seen in another module: {l s='Pay with cash on delivery (COD).' template='module1'} And it does not seem to work either... maybe I have to add something special? Do you know another way of doing this? Any reference material about how to use template='', mod='' or how to manually create md5? I couldn't find any information in the documentation. Thanks.