Jontee Posted March 28, 2023 Share Posted March 28, 2023 Hi! Sorry for the double post, but I believe this might be the correct forum category to post this issue (I have also posted it in the "International Community (English)". I have upgraded to Prestashop 8.0.2 and just realized that when I generate a PDF Invoice or Delivery Slip, their translations are always in English, even tough my shop only has one language (Swedish) and then of course the Super Admin also only has Swedish set as profile language. The PDF strings are translated in the back office, as can be seen in "International > Translations > Front Office > Core (No theme choosen) > Swedish. I have tried creating a new admin profile, reset the cache through BO, cleared the cache in FTP, installed a second language and switched to in admin profile, etc., nothing helps, the Invoice and Delivery Slip PDF are ALWAYS generated in English. What could be causing this? It started with Prestashop 8.0.2, before that it worked well. Many thanks in advance. Best regards, Jonte Link to comment Share on other sites More sharing options...
torbho Posted April 5, 2023 Share Posted April 5, 2023 Yes, I have the same problem. As a workaround I changed the words by hand in the PDF-Template. -> pdf -> *.tpl But it seems to be a bug. Link to comment Share on other sites More sharing options...
Jontee Posted April 5, 2023 Author Share Posted April 5, 2023 Hi, check this Github, it may have solved the issue: Translation invoice gone in PDF after updating 8.0.1 to 8.0.2 · Issue #31863 · PrestaShop/PrestaShop (github.com) Link to comment Share on other sites More sharing options...
torbho Posted April 6, 2023 Share Posted April 6, 2023 Hello and thank you. I can confirm. Just replace config/smartyadmin.config.inc.php With this one https://github.com/PrestaShop/PrestaShop/blob/8f4e58c9fafb10cdaa9fb1f858e1098f40d9b774/config/smartyadmin.config.inc.php and it works again. 1 Link to comment Share on other sites More sharing options...
Jontee Posted April 8, 2023 Author Share Posted April 8, 2023 I hope they will implement the change in upcooming versions of Prestashop. Best regards, 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