Jump to content

Cannot translate some words. File nav.tpl was edited


Recommended Posts

Hi,

 

I have latest prestashop on my server. ( www.led-uri.ro )

After one freelancer installed a new them to my shop, I needed some adjustments.

 

In last part, I try to translate some words in English. For top right menu, I didn't manage to translate some words from "PS Translator" so I've asked the freelancer to translate it.

 

He edit the .tpl files from blockuserinfo and from blockcart.

 

in Romanian Language it is ok, but in English now it is just romanian .... 

I want to create the "original" file, or remake the original links, can you help me ?

 

Example of code that was edited is:

 

<a href="{$link->getPageLink($order_process, true)|escape:'html':'UTF-8'}" title="{l s='View my shopping cart' mod='blockcart'}" rel="nofollow">{l s='Cosul Meu'}</a>

 

After this I edited it to be like: 

 

<a href="{$link->getPageLink($order_process, true)|escape:'html':'UTF-8'}" title="{l s='View my shopping cart' mod='blockcart'}" rel="nofollow">{l s='Cosul Meu' mod='blockuserinfo'}</a>

 

but still nothing.

 

please advice.

 

Thank you,

 

LE:

 

"Log out" in english and "Deconectare" In romanian language is working. For this, the links are:

 

<a class="logout" href="{$link->getPageLink('index', true, NULL, "mylogout")|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Log me out' mod='blockuserinfo'}">
{l s='Sign out' mod='blockuserinfo'}
</a>
 
Thanks,
Edited by boslife (see edit history)
Link to comment
Share on other sites

I have seen issue where modules not part of theme get xlations places in theme/module folder.

 

for the module your xlation is not working for:

 

themes/yourtheme/modulename (delete the translation files) (or rename for back up purposes)

 

then bo-->localization-->translations-->module translations-->(core-no theme)-->language

 

now make xlation with (core no theme)

Link to comment
Share on other sites

Good idea, I applied it.

 

The problem is now, nav.tpl file don't "use" translation file, but instead use the romanian word inserted manually in to the file.

 

Example:

 

<a href="{$link->getPageLink($order_process, true)|escape:'html':'UTF-8'}" title="{l s='View my shopping cart' mod='blockcart'}" rel="nofollow">{l s='Cosul Meu'}</a>

Link to comment
Share on other sites

Good idea, I applied it.

 

The problem is now, nav.tpl file don't "use" translation file, but instead use the romanian word inserted manually in to the file.

 

Example:

 

<a href="{$link->getPageLink($order_process, true)|escape:'html':'UTF-8'}" title="{l s='View my shopping cart' mod='blockcart'}" rel="nofollow">{l s='Cosul Meu'}</a>

 

this should be seen in translations Cosul Meu, you can change it to whatever you like there yes? 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...