Jump to content

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


Rosad0

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'}

 

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...