ps2k11 Posted September 30, 2018 Share Posted September 30, 2018 cannot find a way to translate invoice in another language hope dont have to buy addons, it will be silly Link to comment Share on other sites More sharing options...
aixos Posted September 30, 2018 Share Posted September 30, 2018 Hi The invoices can be translated regards Link to comment Share on other sites More sharing options...
ps2k11 Posted September 30, 2018 Author Share Posted September 30, 2018 8 minutes ago, aixos said: Hi The invoices can be translated regards yes I've noticed, the problem I have is French customers can download French invoice in history but when invoice is generated they receive it in English even if the email is in French do I have to switch b/o to French for them to receive French invoice by mail ? Link to comment Share on other sites More sharing options...
ps2k11 Posted September 30, 2018 Author Share Posted September 30, 2018 order id language french in database anybody ? is it a bug ? Link to comment Share on other sites More sharing options...
ps2k11 Posted September 30, 2018 Author Share Posted September 30, 2018 just tried, have to change language in backoffice to sent invoice in proper language Link to comment Share on other sites More sharing options...
holle75 Posted February 23, 2019 Share Posted February 23, 2019 Same problem here. 1.7.5.1. The translations do exist (translations -> theme translations -DEFAULT ... yes i know, very strange), but customer always gets english (my BO setting) invoices. It´s hilarious. I would like to be able to either let customers get their invoice in their language or define in the BO to create them in a dedicated language. BO language = automaticaly Invoice language is silly. Could this be a theme problem or is it a Bug in presta? ... or is it just this (stupid) way? 1 Link to comment Share on other sites More sharing options...
nsteinbach Posted September 9, 2019 Share Posted September 9, 2019 I think they want the plugin which provides a solution to be sold, because I've found so many complaints and questions for that, but none have been solved. Link to comment Share on other sites More sharing options...
Gipielle Posted February 20, 2020 Share Posted February 20, 2020 This problem is still present from prestashop 1.5 in 2014 Link to comment Share on other sites More sharing options...
Gipielle Posted February 20, 2020 Share Posted February 20, 2020 On 2/23/2019 at 5:06 PM, holle75 said: Same problem here. 1.7.5.1. The translations do exist (translations -> theme translations -DEFAULT ... yes i know, very strange), but customer always gets english (my BO setting) invoices. It´s hilarious. I would like to be able to either let customers get their invoice in their language or define in the BO to create them in a dedicated language. BO language = automaticaly Invoice language is silly. Could this be a theme problem or is it a Bug in presta? ... or is it just this (stupid) way? Presta bug Link to comment Share on other sites More sharing options...
Surffari Posted March 24, 2020 Share Posted March 24, 2020 So how has everyone solved this? My shop uses both EN and ES. And when user has ES selected , the english version of invoice is attached. I found the files which to edit in the pdf-folder, but if I edit/translate these files, the EN users will get the the translated ES invoice? I haven't found where the ES files are or should be, or sould this be done in the BO/Translations? Link to comment Share on other sites More sharing options...
Gipielle Posted March 24, 2020 Share Posted March 24, 2020 3 hours ago, Surffari said: So how has everyone solved this? My shop uses both EN and ES. And when user has ES selected , the english version of invoice is attached. I found the files which to edit in the pdf-folder, but if I edit/translate these files, the EN users will get the the translated ES invoice? I haven't found where the ES files are or should be, or sould this be done in the BO/Translations? I think you missing translations, yes you can translate in the bo but prestashop 1.7 have a bug with translations ... Link to comment Share on other sites More sharing options...
Surffari Posted March 24, 2020 Share Posted March 24, 2020 13 hours ago, Gipielle said: I think you missing translations, yes you can translate in the bo but prestashop 1.7 have a bug with translations ... Actually, the translation seems to be ok. When I log in as the csutomer and open the pdf invoice from the My Account-section, it is translated. So I guess this is a bug as suggested before. I guess I have the options to translate the files directly in the pdf folder, but I guess I'd loose the english or any other lang translations whop wide for this invoice pdf Thanks anyway Link to comment Share on other sites More sharing options...
Gipielle Posted March 26, 2020 Share Posted March 26, 2020 If the pdf is genetated in english i think it will remain english. Go in Back office, change language settings to the one you want the pdf, go in the order and create the invoice, the invoice should be in the same language of back office. Let me know Link to comment Share on other sites More sharing options...
HiPresta Modules Posted March 28, 2020 Share Posted March 28, 2020 This is a PrestaShop bug and to fix it you'll need to modify 3 core files: 1) /classes/Context.php 2) /classes/order/OrderHistory.php 3) /classes/pdf/PDF.php For more details check here: https://hipresta.com/blog/prestashop-tricks/how-to-fix-prestashop-invoice-multilingual-bug Link to comment Share on other sites More sharing options...
Gipielle Posted March 29, 2020 Share Posted March 29, 2020 On 3/28/2020 at 2:01 PM, HiPresta Modules said: This is a PrestaShop bug and to fix it you'll need to modify 3 core files: 1) /classes/Context.php 2) /classes/order/OrderHistory.php 3) /classes/pdf/PDF.php For more details check here: https://hipresta.com/blog/prestashop-tricks/how-to-fix-prestashop-invoice-multilingual-bug Hi HipResta, did you also send the solution to prestashop github? Link to comment Share on other sites More sharing options...
mauona Posted September 8, 2020 Share Posted September 8, 2020 On 3/28/2020 at 10:01 AM, HiPresta Modules said: This is a PrestaShop bug and to fix it you'll need to modify 3 core files: 1) /classes/Context.php 2) /classes/order/OrderHistory.php 3) /classes/pdf/PDF.php For more details check here: https://hipresta.com/blog/prestashop-tricks/how-to-fix-prestashop-invoice-multilingual-bug Hi, I thanks for your tutorial. I have version 1.7.6.1. I modified the 3 core files you mentioned and cleaned cache afterwards. The problem is that the PDF Invoice received by the customer is blank. In my BO I download the Invoice and it is in my BO default language as it usually works. I tried switching languages (Japanese, English, Spanish) and it keeps doing the same. The email received by the customer has an empty PDF, although the Invoice number in the file name is correct, and it changes the prefix. If you could help me with this issue I would really appreciate it. Thank you for your valuable help and time. 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