Translating dates?

General discussion regarding the language files.
juahan2
Newbie
Posts: 3
Joined: Thu Aug 09, 2007 7:44 pm

Translating dates?

Postby juahan2 » Mon Aug 20, 2007 9:14 pm

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.

User avatar
julienV
Joomleague Core Developer
Joomleague Core Developer
Posts: 2016
Joined: Tue Jun 19, 2007 9:27 am
Location: France
Contact:

Re: Translating dates?

Postby julienV » Mon Aug 27, 2007 4:15 pm

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
You can hire me, I'm a Joomla professional freelance developer.
Please contact me at jlv@jlv-solutions.com
NO PM, please use email !

leandro
.
Posts: 75
Joined: Sun Jun 03, 2007 3:27 pm

Re: Translating dates?

Postby leandro » Thu Jul 31, 2008 10:32 pm

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
- Joomleague Version:  0.93b
- Joomla Version: 1.5.14

fox74
.
Posts: 83
Joined: Wed Sep 05, 2007 11:16 am

Re: Translating dates?

Postby fox74 » Wed Oct 08, 2008 1:18 pm

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:


Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest