ManuelAva Posted July 16, 2021 Share Posted July 16, 2021 (edited) Prestashop Version: 1.7.7 Problem: Hello there, I've modified a module (inside Appareal theme) so that I can show a string/notification. The module is idxquickorder (Quick Order), from PS. The string appears where it is supposed to be. However, I can't find it in the International/Translations (Translate installed modules, module selecterd, language selected->Click on modify). I've been following the docs (https://devdocs.prestashop.com/1.7/modules/creation/module-translation/new-system/) but I can't figure out what I'm doing wrong. I've tried different approaches but without luck. Here is my code, from the file \themes\apparel\modules\idxrquickorder\views\templates\front\common\product-list.tpl <span class ="avisoComprado" id="avisoComprado_{$product['id_product']|escape:'htmlall':'UTF-8'}"> {l s='Added to cart' d='idxrquickorder'} </span> As I said, the code works as expected, and apparentely other strings in the module itself are added using exactly the same convention. Following PS guides, I've tried different approaches like: {l s='Added to cart' d='Modules.Idxrquickorder.Product-list'} Nothing has worked so far. Any help would be much appreciated Regards Edited July 19, 2021 by ManuelAva (see edit history) Link to comment Share on other sites More sharing options...
SmartDataSoft Posted July 16, 2021 Share Posted July 16, 2021 Hello, you can use like this {l s='Added to cart' d='Shop.Theme.Global'} Hope it will work Thank you 1 Link to comment Share on other sites More sharing options...
ManuelAva Posted July 19, 2021 Author Share Posted July 19, 2021 On 7/16/2021 at 7:16 PM, SmartDataSoft said: Hello, you can use like this {l s='Added to cart' d='Shop.Theme.Global'} Hope it will work Thank you Thank you! It works! For anyone who has the same problem is I had (and if you are using this solutions) , search for the translation in Theme translations, not in the module. Thanks again! Link to comment Share on other sites More sharing options...
SmartDataSoft Posted July 19, 2021 Share Posted July 19, 2021 @ManuelAva Glad to know your issue solved. Please do not forget to mark this post as solved and also click the love icon to show love our solution. Thank you From SmartDataSoft 1 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