Zen Cart Logo
Forums / Bug Reports / [Not a ZC core bug] Swedish Weekday in product_info

[Not a ZC core bug] Swedish Weekday in product_info

Views: 1,335

Results 1 to 3 of 3
15 Aug 2011, 1:19 PM
#1
frilansreklam avatar

frilansreklam

New Zenner

Join Date:
Sep 2008
Location:
Sweden
Posts:
99
Plugin Contributions:
1

[Not a ZC core bug] Swedish Weekday in product_info

I have try to get our Swedish language to work correct with utf-8 and I have test to change the files language to utf-8 both with bom and without.

Still I can't get correct with the swedish special caracters åäö in the weekdays.

wrong: Denna produkt lades till den L�rdag 03 Januari, 2004.
Right: Denna produkt lades till den Lördag 03 Januari, 2004

Our problem with åäö in mail is correct after convert of the file.

(This is for 1.5.0BETA)

15 Aug 2011, 4:35 PM
#2
frilansreklam avatar

frilansreklam

New Zenner

Join Date:
Sep 2008
Location:
Sweden
Posts:
99
Plugin Contributions:
1

Re: [Not a ZC core bug] Swedish Weekday in product_info

I solved this and it is important to use exactly right formating of locale code as now it has to be for Swedish:

@setlocale(LC_TIME, 'sv_SE.UTF-8');

sv_SE, sv_SE.utf8, sv_SE.ISO_8859-1 is not working.

27 Feb 2013, 6:39 PM
#3
mickymix avatar

mickymix

New Zenner

Join Date:
Jun 2012
Posts:
41
Plugin Contributions:
0

Re: [Not a ZC core bug] Swedish Weekday in product_info

Thank you !!!

You saved my time: I had the same problem with Italian and the correct one for Italian is:

@setlocale(LC_TIME, 'it_IT.UTF-8');

Hoping saving someone else's day... :-)