Page 1 of 1

changing of the locale does not work

Posted: Tue Apr 14, 2009 11:39 am
by Florian Huonder
Hi

I am using the latest cms version (1.5.4).

I use the News Module. There I would like to show the post-date.
That works so far.
The problem that I have is that the server has the locale of de_CH but I want the date to be shown in en_US.
I changed the part in the config.php to: $config['locale'] = 'en_US';
But unfortunately it still does not work. (I also tried with clearing the cache).

Could anybody help me?

Regards,
Flo

Re: changing of the locale does not work

Posted: Tue Apr 14, 2009 11:55 am
by Sonya
If your site is in UTF8 try

Code: Select all

$config['locale'] = 'en_US.UTF-8';

Re: changing of the locale does not work

Posted: Tue Apr 14, 2009 12:03 pm
by alby
Florian Huonder wrote: But unfortunately it still does not work. (I also tried with clearing the cache).
Depend of your Operating System.
Look here for info

Alby

Re: changing of the locale does not work

Posted: Thu Apr 16, 2009 1:24 pm
by Florian Huonder
Hi

I already tried that. But it did not work.
Now after 2 days it works without any change from my side.
I think there was somehow anything in a cache.

thx for your help.