Sunday, February 05, 2012
   
Text Size
Message
  • You must be logged in as a subscriber to do that
  • You must be logged in as a subscriber to do that
  • You must be logged in as a subscriber to do that


Language

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 ;).

Latest Club Downloads

hr-HR_JEvents_2.0_J25.zip
Download JEvents/JEvents 2.0 Translations
2012-02-02 :: 2.0 Joomla! 1.6-1.7
hr-HR_JEvents_2.0_J15.zip
Download JEvents/JEvents 2.0 Translations
2012-02-02 :: 2.0 Joomla! 1.5
jevlocations_2.0.2_unzipfirst.zip
Silver Downloads/Managed Locations Addon
2012-01-27 :: 2.0.2/2.0.1
listevents_map_v3.zip
Bronze Downloads/Sample Files
2012-01-26
jevsendfb_1.0.zip
Silver Downloads/Twitter/Facebook Updates
2012-01-24 :: 1.0
jevanonusers_1.4.3.zip
Silver Downloads/Anonymous User Event Creation
2012-01-18 :: 1.4.3

JEvents is Hosted by Rochen

Login Form