Jump to content

How to add own language fields


Recommended Posts

We have made changes in some files and need to add custom fields into admin-translation.

For example; $mycoustom = "mycustom";

This is not a module for Prestashop, only added files, but we need to be able to translate into different languages.

Thanks!

Link to comment
Share on other sites

You need to add the following bit of code into your file where the displayed text would be. This would be automatically listed in the translation tools in admin. You can see examples of the code below in lots of files that are used in presta.

{l s='Your text to be translated'}

  • Like 1
Link to comment
Share on other sites

  • 1 year later...
×
×
  • Create New...