frkosk Posted February 5, 2025 Share Posted February 5, 2025 Hello everyone, I'm working on an issue in version 8.1.7. I copied the Cash on Delivery (COD) module and rewrote it as Cash on Pickup (COP). Everything works fine, but the module translations have not appeared in BO -> International –> Translations. When I select the module translation, I get a blank page—no errors, logs, nothing. In a code, I'm using the classic way like this: {l s='You pay for the merchandise upon pickup' mod='Modules.Cashonpickup.Shop'} Any ideas or suggestions? Thank you Link to comment Share on other sites More sharing options...
pallavigodse Posted February 5, 2025 Share Posted February 5, 2025 Try to reinstall the module Try uninstalling and reinstalling the module: bash php bin/console cache:clear If the issue persists, enable debug mode (config/defines.inc.php) and check for hidden errors. Link to comment Share on other sites More sharing options...
frkosk Posted February 5, 2025 Author Share Posted February 5, 2025 3 hours ago, pallavigodse said: Try to reinstall the module Try uninstalling and reinstalling the module: bash php bin/console cache:clear If the issue persists, enable debug mode (config/defines.inc.php) and check for hidden errors. Hi @pallavigodse, thank you for your response. I tried your suggestions but didn't get any error, and the issue is the same. Link to comment Share on other sites More sharing options...
endriu107 Posted February 6, 2025 Share Posted February 6, 2025 Prestashop have two options to translate module your code is not correct for any of this method. https://devdocs.prestashop-project.org/8/modules/creation/module-translation/ Link to comment Share on other sites More sharing options...
webprog Posted February 7, 2025 Share Posted February 7, 2025 Try: {l s='You pay for the merchandise upon pickup' mod='cashonpickup'} 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