Page 1 of 1
date format not adjusting to language
Posted: Fri Apr 01, 2005 12:06 am
by obakemono
Hi Guys!
The date format of my entries doesn't adjust to my blog-language.
What to do?
Should I hard-wire the format in the template?
Thanks in advance.
(You do great support,
already happy that I decided for serendipity)
obakemono
Re: date format not adjusting to language
Posted: Fri Apr 01, 2005 11:18 am
by garvinhicking
Which language file are you using? You can edit the files in lang/serendipity_lang_XX.inc.php and look at the dateformat there. But they usually already adjust to the language of your blog.
The best way would be to hardwire your own liking inside your template, because if you change the lang-file you'd have to do that everytime for a new serendipity release.
Regards,
Garvin
hm...
Posted: Tue Apr 05, 2005 2:37 am
by obakemono
Well....
I use german language.
I think the serendipity_lang_XX.inc.php is working,
since the smarty-template from that file is used.
Yet, the strings are not adjusted: Its "Friday" where it should be German "Freitag"...
Any idea??
THX!
obakemono
Re: hm...
Posted: Tue Apr 05, 2005 10:22 am
by garvinhicking
If it says "Friday" that means your server does not support one of the mentioned locales ("de", "de_DE" and so on). Please contact your system administrator and ask him to install a german locale. There's no other way to get german day/month names.
Regards,
Garvin