Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 09:27 pm EDT

Geeklog Forums

I want the Events Block to dispay the days in French


Travis

Anonymous
I want the Events block to dispay the days in French. Where or what do I modify to get this to happen? I have already changed the lanuguage site-wide, but the days for events want change. Thanks. Big Celebration
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
In config.php:

$_CONF['locale'] = 'fr_FR';

bye, Dirk
 Quote

Travis

Anonymous
Thanks, but no luck. I have modified the config.php file and the language works throughout the site. Here is the link http://www.okubicaffe.com/caffe/index.php See the days of the week on the left block. praying it will work
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Geeklog leaves the language and formatting of date and time (mostly) to PHP. For that to work, you have to set the 'locale' entry (see above), so that PHP knows which language to use.

First of all, please double check the correct spelling of the locale setting (mixed lower/upper case, uses an underscore).

If that doesn't work, it's possible that your server doesn't support that locale. Try the little PHP script I posted over here and see what happens.

bye, Dirk
 Quote

All times are EDT. The time is now 09:27 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content