Jump to content
Rosad0

How to add custom translation to module in 1.7.x?

Recommended Posts

Hello,

I can not figure out how to add translation to any module in PS 1.7. I have example on Wirepayment module, I tried also on another, custom modules. None of listed below ideas did not work.
I understand these translations are not showing in .xlf translation files automaticaly. So:

1. How to force prestashop to add my custom translation and make it visible via backoffice?

2. Which code is correct for (if there is difference)?
a.) standard module,
b.) theme module.

      {l s='Your order on %s is complete. abc' sprintf=[$shop_name] d='Wirepayment.Shop'}<br/>
      {l s='Please send us a bank wire with:' d='Modules.Wirepayment.Shop'}
      {l s='Teste' d='Modules.Wirepayment.Shop'}
      {l s='Teste 2' d='Wirepayment.Shop'}
      {l s='Teste 3' mod='ps_wirepayment'}
      {l s='Teste' d='Module.Wirepayment.Shop'}

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More