I did install Serendipity 0.8-alpha12 yesterday (it was a very, very short night!) - and everything is fine - allmost ...
I've switched the language to "German" in den administration panel, which worked fine for all texts. But what do I have to do to show day and month names in German? It's still saying ("February" instead of "Februar", "Sunday" instead of "Sonntag" etc.). (I didn't have any problems with the Serendipity v.0.7.1 installed so far).
Thanks for your hints!
Marcel
0.8-alpha12 - how to change day/month names to german?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: 0.8-alpha12 - how to change day/month names to german?
That is strange, because the logic to enforce the locale should not have changed!
Your system/server needs to support one of those locales: "german, de_DE, de, de_DE.ISO8859-1, de_DE@euro". Those are defined in lang/serendipity_lang_de.inc.php - can you see how'S the name of the german locale on your system?
This depends on the Linux/Windows distribution you're using. On my setup it's de_DE@euro.
Regards,
Garvin
Your system/server needs to support one of those locales: "german, de_DE, de, de_DE.ISO8859-1, de_DE@euro". Those are defined in lang/serendipity_lang_de.inc.php - can you see how'S the name of the german locale on your system?
This depends on the Linux/Windows distribution you're using. On my setup it's de_DE@euro.
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/
# 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/
Hi Garvin
Thanks for your quick reply!
The name fo the german locale on my system? Could one of these be helpful?
Thanks for your quick reply!
The name fo the german locale on my system? Could one of these be helpful?
The operating system my hosting provider uses is "FreeBSD" (seen on my control panel) - as far as I know it is a Unix system!?HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_LANGUAGE de,de-de;q=0.8,en-us;q=0.5,en;q=0.3
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
No, I'm sorry, those do not help. I'm not familar with FreeBSD, so please ask your system Administrator to tell you which locales are installed. Locaelgen helps to create missing ones...
Regards,
Garvin
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/
# 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/
Update:
It's an error in the file serendipity_lang_de.inc (which I've downloaded yesterday):
which should be
Without a "-" in ISO8859! I've removed it and everything is fine now!
With proud regards
Marcel
No! It's not a configuration problem in my web account! Just figured out, where the problem is:Marcel wrote:it must be a configuration problem in my web account.
It's an error in the file serendipity_lang_de.inc (which I've downloaded yesterday):
Code: Select all
@define('DATE_LOCALES', 'german, de_DE, de, de_DE.ISO-8859-1, de_DE@euro');Code: Select all
@define('DATE_LOCALES', 'german, de_DE, de, de_DE.ISO8859-1, de_DE@euro');With proud regards
Marcel
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
In fact it was a problem of your webhoster. Debian Linux offers a locale called 'de_DE.ISO-8859-1' which seems to be standard. Aparaently, OpenBSD uses a different one. I'll add it to the list instead of replacing it. 
Regards,
Garvin
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/
# 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/