The Events Calendar for Joomla!

Select Languagehide

Norsk

All Events

November 2008
S M T O T F L
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6

Major Events

November 2008
S M T O T F L
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6

Who's Online

Vi har 9 gjester og 1 bruker her nå
  • demo
 hide
layout only
Language PDF Skriv ut E-post

I'm running jevents in French.  Many of the dates appear in English - whats going on?

 

The date is formatted with the php function strftime() which uses the locale of your Joomla installation. Check if the locale is set to fr_FR, fr_CA, fr_CH,...

If you are using Joomfish - make sure your ISO codes are set correctly.
The locale date strings are part of the C library of your server operating system. Assuming you have a Unix/Linux based server you can check your server with the following php script:

setlocale(LC_TIME, "C");
echo strftime("%A");
setlocale(LC_TIME, "fi_FI");
echo strftime(" in Finnish is %A,");
setlocale(LC_TIME, "fr_FR");
echo strftime(" in French %A and");
setlocale(LC_TIME, "de_DE");
echo strftime(" in German %A.\n");
If run on a Thurday this should display:

Thursday in Finnish is torstai, in French jeudi and in German Donnerstag.

To make life a little easier JEvents 1.4 contains a little script that you canuse to analyse you Locale Settings.

On your server try visiting

http://yourdomain.com/administrator/index2.php?option=com_events&task=checklocale

Remembering to replace the domain name or course ;).

 
< Forrige   Neste >
 hide
layout only

Designed by : Geraint Edwards