Post by puckmugger » Wed Apr 20, 2016 10:27 pm

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?
Last edited by puckmugger on Mon Apr 25, 2016 10:39 pm, edited 1 time in total.

Newbie

Posts

Joined
Wed Apr 20, 2016 10:24 pm

Post by puckmugger » Sat Apr 23, 2016 4:00 am

Is there anyone out there that can help me...

Newbie

Posts

Joined
Wed Apr 20, 2016 10:24 pm

Post by IP_CAM » Sat Apr 23, 2016 7:10 am

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

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by puckmugger » Mon Apr 25, 2016 10:39 pm

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.

Newbie

Posts

Joined
Wed Apr 20, 2016 10:24 pm

Post by IP_CAM » Tue Apr 26, 2016 7:07 am

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

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 1 guest