• Magento 1 Support continued  ⋅  7-Day Money-back  ⋅  Implemented by a Magento Certified Developer 
  • On Github I support Open Source projects  with software development
  • Still on Magento 1? No problem, there is no other shop software that get you faster results!
Dieser Inhalt ist auch auf Deutsch verfügbar.

How to translate the Magento PDF invoice?

Profile picture of Christoph Maßmann Chris
last updated on February 21, 2023

With my Advanced Invoice Layout Magento Extension you are able to customize the Magento default PDF invoice layout to adapt it to your needs and improve the look'n'feel of the invoice.
Therefore you can also easily add your own translations (of course this in accordance to Magento best practices):

  • Identify the text string that you want to translate in the template files in app/design/frontend/base/default/template/advancedinvoicelayout, e.g. the string "Invoice #%s" in app/design/frontend/base/default/template/advancedinvoicelayout/default/invoice.phtml
  • Search for this text string in file app/locale/xx_XX/Vianetz_AdvancedInvoiceLayout.csv with xx_XX being the locale code, e.g. "de_DE".
  • If the text string is available just change the translation to your needs, otherwise add a new line at the end of the file with your translation like
    "Invoice #%s","Ihre Rechnung Nr. %s"
  • Flush the Magento Cache in the backend

« Back to the FAQ overview