Forums / Installing on a Linux/Unix Server / Wrong language in day name

Wrong language in day name

Locked

Views: 1,368

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
1 Jun 2007, 6:56 AM
#1
tonybergdahl avatar

tonybergdahl

New Zenner

Join Date:
Aug 2006
Location:
Upplands Väsby
Posts:
8
Plugin Contributions:
0

Wrong language in day name

(Denna produkt kom in Sunday den 26 November, 2006.)

I got wrong language in day name as you can see above, text in Swedish and days in English. I only use Swedish in my site.
When i moved my site to a hotel then i got this problem and i cant find a solution to this. First i couldn't see the admin site at all because of language error. After that was fixed i have this problem with days.

Please help about this.
https://www.mekit.se

11 Jun 2007, 7:30 PM
#2
bwoodsdesign avatar

bwoodsdesign

New Zenner

Join Date:
Jun 2007
Location:
St. Paul, Minnesota, USA
Posts:
18
Plugin Contributions:
0

Re: Wrong language in day name

Check out the "Downloads" section of this site and see if there is a Swedish language pack for you. You may have to open "includes/language/...php and edit the language file you are using, to adjust the date for Swedish from English.

Hope that helps!

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
**B. Woods Design - Professional Managed Website Solutions**

11 Jun 2007, 7:47 PM
#3
tonybergdahl avatar

tonybergdahl

New Zenner

Join Date:
Aug 2006
Location:
Upplands Väsby
Posts:
8
Plugin Contributions:
0

Re: Wrong language in day name

Thanks for reply.
I have been playing with this many hours now without any solution. I found that i use sv_SV.ISO8859-1 but if i change to UTF-8 month works but i shows strange letters. Datum: MÃ¥ndag den 11 Juni, 2007.
You can see Monday=Måndag in Swedish shows wrong. I cant find the problem.

8 Jul 2007, 6:53 AM
#4
tonybergdahl avatar

tonybergdahl

New Zenner

Join Date:
Aug 2006
Location:
Upplands Väsby
Posts:
8
Plugin Contributions:
0

Re: Wrong language in day name

The problem is solved. I had wrong syntax in /includes/language/swedish.php.
We changed @setlocale(LC_TIME, 'sv_SE.ISO_8859-1'); to
@setlocale(LC_TIME, 'sv_SE.ISO8859-1');
After that swedish lang works fine. Just an underscore!