Jump to content

Module translation don't work. Help.


Recommended Posts

Hello,

I'm trying to translate some modules but I can't get it to work. For example for the "blockpermanentlinks" I created the file themes/themetest/modules/translations/es.php

<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['{blockpermanentlinks}prestashop>blockpermanentlinks_106a6c241b8797f52e1e77317b96a201'] = 'Inicio';
$_MODULE['{blockpermanentlinks}prestashop>blockpermanentlinks_2f8a6bf31f3bd67bd2d9720c58b19c9a'] = 'Contacto';
?>
 
 <li ><a href="{$link->getPageLink('index.php')}" class="header_links_home" title="{l s='home' mod='blockpermanentlinks'}">{l s='home' mod='blockpermanentlinks'}</a></li>
 <li ><a href="{$link->getPageLink('contact', true)}" class="header_links_contact"  title="{l s='contact' mod='blockpermanentlinks'}">{l s='contact' mod='blockpermanentlinks'}</a></li>
 
 
But prestashop ignores the translation file. I tryed to put in the module folder too but nothing works. Spanish is the unique language in my shop.
 
 
What I'm doing wrong?
 
 
Thanks
 
Link to comment
Share on other sites

×
×
  • Create New...