AllInJoe Posted December 10, 2021 Share Posted December 10, 2021 Hey there, i am again using Prestashop since long time and wondering how to add custom translation strings. I want to add a string in the Blockwishlist Module, into the file displayCustomerAccount.tpl So i added already the line "{l s='Wishlist new' d='Modules.Blockwishlist.Shop'}" for testing. And it actually already works in the Frontend. <a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="wishlist-link" href="{$url}"> <span class="link-item"> <i class="material-icons">favorite</i> {l s='Wishlist new' d='Modules.Blockwishlist.Shop'} </span> </a> The Problem is, i have 3 languages for the shop and need to make the translation for each. But now the string is not showing in description Modify translations As i know, the last time i did it, i needed to add somewhere else the lines including a md5 hash. Can someone please help me how to make it shown in the Modify translations or is there any Tutorial that works? Many thanks in advance Link to comment Share on other sites More sharing options...
AllInJoe Posted December 10, 2021 Author Share Posted December 10, 2021 Sorry, can be closed. I got it. Needed to add this part in my Theme .xlf <trans-unit id="d39f3a7e2ac0065b36783266d2e93095"> <source>Wishlist new</source> <target>Wunschliste</target> <note>Context: File: themes\MyThemeName\modules\blockwishlist\views\templates\displayCustomerAccount.tpl:23</note> </trans-unit> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now