Jump to content
ps2k11

ps 1.7.4.2 translate invoice a.s.a..p

Recommended Posts

cannot find a way to translate invoice in another language

hope dont have to buy addons, it will be silly

Share this post


Link to post
Share on other sites
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 ?

Share this post


Link to post
Share on other sites

just tried, have to change language in backoffice to sent invoice in proper language

Share this post


Link to post
Share on other sites

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?

  • Like 1

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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? 

Share this post


Link to post
Share on other sites
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 ...

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More