Page 1 of 1

Locale entries for Norwegian language

Posted: Thu Aug 04, 2005 9:25 pm
by frodeste
Some locales are missing. I have added a few that I find are commonly used to my copy of the lang/serendipity_lang_no.inc.php file:

@define('DATE_LOCALES', 'norwegian, no, no_NO, no_NO.DIS_8859-15, no_NO.ISO8859-1, no_NO.ISO8859-15, no_NO.ISO_8859-1, no_NO.ISO_8859-15, no_NO.UTF-8');

This fixes a lot for me. Is there any reason why only LC_TIME is set? I can't see the LC_ALL beeing used.

Also. I find this line to be incorrect:
@define('DATE_FORMAT_ENTRY', '%A d. %e. %B %Y');

It should read:
@define('DATE_FORMAT_ENTRY', '%A - %e. %B %Y');

--
frodeste - www.stenstrom.no

Re: Locale entries for Norwegian language

Posted: Fri Aug 05, 2005 11:32 am
by garvinhicking
Hi Frodeste!

Thanks for the updated locales; I've added some of them to our SVN. However watch out that you specified UTF-8 locales while the header of the Norwegian file is ISO-8859-1, so this might create trouble for you!

The reason only LC_TIME is set is because we don't make use of other LC_* features, and only showing the time relies on the locale system...

I also fixed the DATE_FORMAT_ENTRY one!

Regards,
Garvin

Re: Locale entries for Norwegian language

Posted: Mon Aug 08, 2005 2:20 pm
by frodeste
Excellent.

And thank you! I am waiting for the 0.9 release now :)