French date format problems (fixed)

Found a bug? Tell us!!
Post Reply
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

French date format problems (fixed)

Post by randulo »

In: serendipity_lang_fr.inc.php from the stable version I downloaded today, the line

Code: Select all

@define('DATE_LOCALES', 'french, fr, fr_FR,en_US');
is missing a part that make French dates not work (on FreeBSD, anway)

Code: Select all

@define('DATE_LOCALES', 'french, fr, fr_FR, fr_FR.ISO-8859-1, fr_FR@euro, fr_FR.ISO8859-1,en_US');
This drove me nuts today since every other language worked.

s9y is great, thanks!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: French date format problems (fixed)

Post by garvinhicking »

Committed, thanks!

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/
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

Post by randulo »

Same problem with Italian!

Great to have all the languages, but even better if they actually work.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

What do you mean wiht "same problem"? Please tell me your locales.

It can only work if you properly configure your server; since s9y is optimized for Linux it uses default locale names for Linux; so it's more a problem of the sysadmin if the required locale is either not installed or installed under a different name ;)

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/
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

Post by randulo »

Yes, apparently this is a FreeBSD problem. Now that it's fixed we see that it isn't a bug and maybe shouldn't even stay posted here. It would be good to note the issue for others who may encounter it.

For some reason, German, Danish and many other languages worked fine but French and Italian did not. Adding the specific ISO codes as I said above, made them work.
Post Reply