Problems with locales

Found a bug? Tell us!!
Post Reply
Dawn
Regular
Posts: 69
Joined: Thu May 04, 2006 11:46 am

Problems with locales

Post by Dawn »

Hi,

I recognized today that some strings on my blog doesn't use the right locales. I've searched through the forums for a solution but I can't finde one.

You can take a look to my (german) blog @ http://blog.blankster.info

As you can see the whole database-content (blog entry, categories, months) is displayed correctly (UTF-8). What's strange:
März 2007
Februar 2007
Januar 2007
Das neueste ...
Älteres ...
In admin-area and in the link "full text of the entry" are all umlauts wrong too. When I change in the settings the charset to "national charset" all errors which occure are now ok but the thing which were ok are displayed now wrong.

I've installed the following charsets on my server:

Code: Select all

de_DE@euro ISO-8859-15
de_CH ISO-8859-1
de_CH.UTF-8 UTF-8
de_DE ISO-8859-1
de_DE.UTF-8 UTF-8
de_DE.UTF-8@euro UTF-8
en_US ISO-8859-1
en_US.ISO-8859-15 ISO-8859-15
en_US.UTF-8 UTF-8
Do you have an idea what the problem can be?

Greets and thanks,
Dawn
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problems with locales

Post by garvinhicking »

Hi!

Your locales are right, else the Month name would not be displayed correctly.

What instead seems wrong is your lang/UTF-8/serendipity_lang_de.inc.php file. Did you edit that file and saved it in ISO-format instead of UTF-8?

Please simply restore the original serendipity_lang_de.inc.php file and all should be well again. If you need to edit the file, use an UTF-8 aware editor.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Dawn
Regular
Posts: 69
Joined: Thu May 04, 2006 11:46 am

Post by Dawn »

Thanks a lot for your fast answer! That solved my problem...

The strange thing is I didn't edited the language files. Is there anything other which can change these files? I'm the admin of my server and nobody else hase rights to access my files.

Greets and Thanks again,
Dawn
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Hm, no, actually there is no plugin that writes to the language files...so only a FTP editor or some other user interaction could touch that file...

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Dawn
Regular
Posts: 69
Joined: Thu May 04, 2006 11:46 am

Post by Dawn »

Very strange... I'm so sure that I didn't have edited this file or in general the files of Serendipity. But thanks again for your help :) It's nice that it is working now...

Greets and best regards,
Dawn
Post Reply