Change language of Newsmodule?

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
Bumble
Forum Members
Forum Members
Posts: 32
Joined: Tue May 30, 2006 5:03 pm

Change language of Newsmodule?

Post by Bumble »

Hello,

The "News Module" included standard at the CMSMS package normaly displays the date and time format in English.
Can I change this? And were?
The templates are not the solution, changing the language of the CMSMS admin isn't solving the problem also.

(excuse me for this very bad english, had some beers and i'm from holland, excusez moi)

Thanks for reading and possibly answering,

Bumble.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Change language of Newsmodule?

Post by Dr.CSS »

You need to look at Extensions » Modules then click 'News' for Help...

(optional) lang="en_US" - Parameter is used to specify what language to use for display on the frontend. Not all modules support or need this.

There are language files in the News module folder...
mahjong

Re: Change language of Newsmodule?

Post by mahjong »

In PHP, the date format are controlled the set_locale function.

In the config.php file you'll find :

Code: Select all

#Locale to use for various default date handling functions, etc.  Leaving
#this blank will use the server's default.  This might not be good if the
#site is hosted in a different country than it's intended audience.
$config['locale'] = 'ja_JP';
Set to whatever you need.
Post Reply

Return to “CMSMS Core”