news date in italian

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
angelapierri
Forum Members
Forum Members
Posts: 33
Joined: Mon Aug 07, 2006 12:11 pm

news date in italian

Post by angelapierri »

i 'm trying setting local time (italian) for formatpostdate, but does not work
any suggestion?


i tried to insert a little piece of code example:
setlocale (LC_TIME 'it_it')
where can i put it

Thanks
cyberman

Re: news date in italian

Post by cyberman »

There's an option to format the date output like

{cms_module module='news' dateformat='%d. %B %Y'}

or currently

{news dateformat='%d. %B %Y'}

Are you meaning this?
User avatar
angelapierri
Forum Members
Forum Members
Posts: 33
Joined: Mon Aug 07, 2006 12:11 pm

Re: news date in italian

Post by angelapierri »

i already did it but the problem is where i can set the language of local time
i woulld like the month in italian
11 novembre 2006
not 11 november 2006
thanks
cyberman

Re: news date in italian

Post by cyberman »

Please look at admin panel menu Administrator > Global options. There you can define a default language for frontend. And you can add parameter lang="it_IT" to news module call too.
Post Reply

Return to “CMSMS Core”