Page 1 of 1

Translating dates?

Posted: Mon Aug 20, 2007 9:14 pm
by juahan2
How can I translate the dates in to my language? They all appear in English and I don't find them in the language file.

Re: Translating dates?

Posted: Mon Aug 27, 2007 4:15 pm
by julienV
look for "date" in your langage file...

e.g:

Code: Select all

DEFINE('_JL_DAYDATE','%x');
DEFINE('_JL_MATCHDAYDATE','%A, %Y %B %d.');
...


and refer to http://fr2.php.net/strftime to adjust to your liking

Re: Translating dates?

Posted: Thu Jul 31, 2008 10:32 pm
by leandro
Open the pages where you have the english date, for example
components\com_joomleague\frontend\default\show_team_info.tpl.php

Add at the beginning:

/* Impostazioni locali in Italiano */
setlocale(LC_ALL, 'it_IT');
?>


(This is for Italian Language)

Change 'it_IT' with your language

Regards

Re: Translating dates?

Posted: Wed Oct 08, 2008 1:18 pm
by fox74
Scusa se rispondo solo ora,ma non ho avuto modo di seguire il tuo consiglio.
Come al solito sei stato UTILISSIMO ,problema risolto
GRAZIE ANCORA :biggrin: :biggrin: :biggrin: :biggrin: :thx: