My simple module allows to add translations everywhere where we have access to Tools class – for example in PrestaShop classes (directory: /classes/).
- Download module and install in PrestaShop.
- Open file: /modules/extratranslations/extratranslations.tpl and add labels in this way:
1234{l s='example' mod='extratranslations'}{l s='label' mod='extratranslations'} - Add yours labels wherever you want in this way:
123Tools::getExtraTranslation('example') - Translate yours labels in PrestaShop Admin Panel:
Localization > Translations > Module Translations > Module extratranslations
Download: extratranslations.zip
Github: https://github.com/evox95/prestashop-extratranslations