Jump to content

Recommended Posts

 

It is impossible in prestashop 1.7 to add new text on the invoice with translation!

Insert on invoices.adresses-tab.tpl

{l s='simplified' d='Shop.Pdf' pdf='true'}

 

I do not have a cache, I have recompiled, I have tried different formats, I have seen a thousand tutorials but none have found the text in translations.

 

 

Can anybody help me? I'm desperate

Edited by José Antonio

Share this post


Link to post
Share on other sites

OK, solved.... ithink

 

  <FILE original="pdf/invoice.addresses-tab.tpl" source-language="en-US" target-language="en" datatype="plaintext">
    <BODY>
      <TRANS-UNIT id="1f2f0f119a907c6c67a3c6fcde0193ab">
        <SOURCE>simplified</SOURCE>
        <TARGET>simplified</TARGET>
        <NOTE>Context:
File: pdf/invoice.addresses-tab.tpl:36</NOTE>
      </TRANS-UNIT>

I have changed trans-unit for a random one and it works in translations -> Shop - PDF

 

 

Share this post


Link to post
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

×

Important Information

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