Page 1 of 1

Error translating email responders with french accents (2.1)

Posted: Wed Apr 20, 2016 10:27 pm
by puckmugger
I’m having an issue when a user creates an account in french. The auto email that sent to the new account doesn’t display the french characters correctly. I have the french language pack running in the system, I also have the locale set to fr_CA.UTF-8,fr_FR.UTF-8,fr_CA,fr_FR,fr-fr,french.

As an example, I have the following text in english:
Your account has now been created and you can

And when I create an account in french, this is the email I receive:

Votre compte a été créé, vous pouvez

When, what I really need to see is:
Votre compte a été créé et vous pouvez


Can anyone help me out? I’ve tried checking the mail.php file, and it’s set to utf-8, and since the customer.php file, is, well, php…. it won’t accept french accented characters.

I use TextWrangler and I saved as “UTF-8 with BOM”… still nothing. I’ve tested all emails being sent from OC that are in french, and it seems to occur throughout all of them.

Just so we are clear, it’s correct that I keep the html code of the accented characters in it’s current form and to NOT copy and paste the french text as-is into the php file… correct?

Re: Error translating email responders with french accents

Posted: Sat Apr 23, 2016 4:00 am
by puckmugger
Is there anyone out there that can help me...

Re: Error translating email responders with french accents

Posted: Sat Apr 23, 2016 7:10 am
by IP_CAM
Basically: Yes, there is, if you, next time, don't forget again, to always tell us FIRST,
what OC Version you use, then, you at least have a chance, to get a reply, because without
Facts, who else should be even interested, to find out first... :-\
And this WITH BOM File Save is the wrong way, to do it, anyway... ;) better follow the books!
Ernie

Re: Error translating email responders with french accents

Posted: Mon Apr 25, 2016 10:39 pm
by puckmugger
My bad, I just assumed everyone would know which version I was in, since I posted it in the OC 2.0 thread. My current version is 2.1.0.2.

Re: Error translating email responders with french accents (

Posted: Tue Apr 26, 2016 7:07 am
by IP_CAM
well, from the Outside, they all look the same, all blond-haired, busty, skinny, and on High Heels, but unfortunately, there are (partly massive) Differences between them, like in V.2.x Subversions. In addition, why should it require updated Subversions, if everything would always be the same... ?! :D But you will find out, don't worry about this,
but meanwhile, you could use something like this Below, to fix such small GIZMOS, like the one, you seem to have:

Translate Mate
A tool to help translate Opencart into multiple languages.
http://www.opencart.com/index.php?route ... n_id=23098

Good Luck ;)
Ernie