Jump to content

[Solucionado] [ Ayuda ] como colocar la traduccion de texto en Blockpermanentlinks?


jorgemmcc

Recommended Posts

Hola, un saludo, para solicitar la ayuda para que pueda realizar el cambio en codigo para que en la barra de links permanentes en el header de el tema Bootstrap tambien conocido como theme593, que estan en el codigo en ingles y no cambian (porque en el codigo no esta especificado la variable a la traduccion), al seleccionar otro idioma a pesar de que se encuentra especificada la traduccion el el archivo es.php.

Aqui pongo el codigo que tiene en el modulo blockpermanentlinks en el archivo blockpermanentlinks-header.tpl

---------

{*

* 2007-2013 PrestaShop

*

* NOTICE OF LICENSE

*

* This source file is subject to the Academic Free License (AFL 3.0)

* that is bundled with this package in the file LICENSE.txt.

* It is also available through the world-wide-web at this URL:

* http://opensource.or...ses/afl-3.0.php

* If you did not receive a copy of the license and are unable to

* obtain it through the world-wide-web, please send an email

* to [email protected] so we can send you a copy immediately.

*

* DISCLAIMER

*

* Do not edit or add to this file if you wish to upgrade PrestaShop to newer

* versions in the future. If you wish to customize PrestaShop for your

* needs please refer to http://www.prestashop.com for more information.

*

* @author PrestaShop SA <[email protected]>

* @copyright 2007-2013 PrestaShop SA

* @license http://opensource.or...ses/afl-3.0.php Academic Free License (AFL 3.0)

* International Registered Trademark & Property of PrestaShop SA

*}

 

<!-- Block permanent links module HEADER -->

<section class="header-box blockpermanentlinks-header">

<ul id="header_links">

<li><a href="{$link->getPageLink('index.php')}" class="header_links_home">{l s='home' mod='blockpermanentlinks'}</a></li>

<li><a href="{$link->getPageLink('stores')}" class="header_links_store">{l s='Our Stores'}</a></li>

<li ><a href="{$link->getCMSLink('4', 'About Us')}" class="header_links_about">{l s='About Us'}</a></li>

<li ><a href="{$link->getCMSLink('1', 'Delivery')}" class="header_links_delivery">{l s='Delivery'}</a></li>

<li><a href="{$link->getPageLink('contact', true)}" class="header_links_contact" title="{l s='Contact us' mod='blockpermanentlinks'}">{l s='Contact us' mod='blockpermanentlinks'}</a></li>

 

 

</ul>

 

<div class="mobile-link-top">

<h4>

<span class="title-hed"></span><span class="arrow_header_top_menu"></span>

</h4>

<ul id="mobilelink" class="list_header">

<li><a href="{$link->getPageLink('index.php')}" class="header_links_home">{l s='home' mod='blockpermanentlinks'}</a></li>

<li><a href="{$link->getPageLink('stores')}" class="header_links_store">{l s='Our stores'}</a></li>

<li ><a href="{$link->getCMSLink('4', 'About Us')}" class="header_links_about">{l s='About Us'}</a></li>

<li ><a href="{$link->getCMSLink('1', 'Delivery')}" class="header_links_delivery">Delivery</a></li>

<li><a href="{$link->getPageLink('contact', true)}" class="header_links_contact" title="{l s='Contact us' mod='blockpermanentlinks'}">{l s='Contact us' mod='blockpermanentlinks'}</a></li>

 

</ul>

</div>

</section>

<!-- /Block permanent links module HEADER -->

 

 

_______________________________________________________________

 

aqui coloco el codigo del archivo es.php que esta en el mismo directorio

_______________________________________________________________

 

<?php

 

global $_MODULE;

$_MODULE = array();

$_MODULE['<{blockpermanentlinks}theme593>blockpermanentlinks-footer_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Enlace';

$_MODULE['<{blockpermanentlinks}theme593>blockpermanentlinks-footer_e1da49db34b0bdfdddaba2ad6552f848'] = 'Mapa del Sitio';

$_MODULE['<{blockpermanentlinks}theme593>blockpermanentlinks-footer_2f8a6bf31f3bd67bd2d9720c58b19c9a'] = 'Contacto';

$_MODULE['<{blockpermanentlinks}theme593>blockpermanentlinks-footer_fad9383ed4698856ed467fd49ecf4820'] = 'Marcador';

$_MODULE['<{blockpermanentlinks}theme593>blockpermanentlinks-header_106a6c241b8797f52e1e77317b96a201'] = 'Inicio';

$_MODULE['<{blockpermanentlinks}theme593>blockpermanentlinks-header_34c869c542dee932ef8cd96d2f91cae6'] = 'Nuestras Tiendas';

$_MODULE['<{blockpermanentlinks}theme593>blockpermanentlinks-header_9e66e6bd4069124578736528a0432752'] = 'Acerca de Nosotros';

$_MODULE['<{blockpermanentlinks}theme593>blockpermanentlinks-header_065ab3a28ca4f16f55f103adc7d0226f'] = 'Entregas';

$_MODULE['<{blockpermanentlinks}theme593>blockpermanentlinks-header_02d4482d332e1aef3437cd61c9bcc624'] = 'Contactenos';

$_MODULE['<{blockpermanentlinks}theme593>blockpermanentlinks_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Enlace';

$_MODULE['<{blockpermanentlinks}theme593>blockpermanentlinks_e1da49db34b0bdfdddaba2ad6552f848'] = 'Mapa del Sitio';

$_MODULE['<{blockpermanentlinks}theme593>blockpermanentlinks_2f8a6bf31f3bd67bd2d9720c58b19c9a'] = 'Contacto';

$_MODULE['<{blockpermanentlinks}theme593>blockpermanentlinks_fad9383ed4698856ed467fd49ecf4820'] = 'Marcador';

 

___________

 

lo que no cambia es Our Stores, About Us, Delivery.

 

Gracias por ayuda.

Edited by jorgemmcc (see edit history)
Link to comment
Share on other sites

Esto:

 

<li><a href="{$link->getPageLink('stores')}" class="header_links_store">{l s='Our stores'}</a></li>
<li ><a href="{$link->getCMSLink('4', 'About Us')}" class="header_links_about">{l s='About Us'}</a></li>
<li ><a href="{$link->getCMSLink('1', 'Delivery')}" class="header_links_delivery">Delivery</a></li>

 

Deberia ser en todo caso asi:

 

<li><a href="{$link->getPageLink('stores')}" class="header_links_store">{l s='Our stores' mod='blockpermanentlinks'}</a></li>
<li ><a href="{$link->getCMSLink('4', 'About Us')}" class="header_links_about">{l s='About Us' mod='blockpermanentlinks'}</a></li>
<li ><a href="{$link->getCMSLink('1', 'Delivery')}" class="header_links_delivery">{l s='Delivery' mod='blockpermanentlinks'}</a></li>

 

De esa manera, podras traducirlo desde la pestaña Localizacion -> Traducciones -> Traducciones de los modulos.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...