Log in

View Full Version : Date in other languages



Rohan72
12-28-2007, 10:09 AM
I have a pretty good CMS-script. The only problem is that is purely in English.
I would like to have the date it displays in another language.

In the config.php file it gives the following line:

$NewsDisplay_DateFormat = 'l, j F Y';

NewsDisplay_DateFormat gets called in over a dozen other files.

Is there a way to change the config.php file so it displays the day and month names in another language? I was thinking about an array, but to be honest, i have no clue how to implement that.

codeexploiter
12-28-2007, 10:17 AM
I assume that you are using 'PHPFreeNews (http://www.phpfreenews.co.uk/Main_Intro.php)' in your case and I found one thread in their forum which discuss the exact problem of yours.

http://www.phpfreenews.co.uk/forums/viewtopic.php?p=1367&sid=15d9ed6d1b4247d1a526b77ec462048b

if the above is not the case then you need to provide the source code that deals with the date formating

Rohan72
12-28-2007, 10:34 AM
Thanks!!!!

That solved it. Now i just have to put the right specifiers. Won't be a problem...