Reputation: 1501
I'm having a very stupid issue with a new string I need to translate. I added it into my theme file :
File: /themes//order-carrier.tpl
{*Displaying a link to CMS page*}
{if $carrier.id_carrier == 36}
<a href="{$link->getCMSLink(21)}" target="_blank">{l s="My new string"}</a>
{/if}
But when I go to my back-office to translate the string, I can't find this new string (Tools > Translations) ...
I'm using Prestashop 1.4.9 and I disabled Smarty's cache.
Upvotes: 1
Views: 2158
Reputation: 1501
Well, it was because I used double quotes instead of a single quote in this line : {l s="My new string"}
Upvotes: 0