Results 1 to 3 of 3

Thread: Date in other languages

  1. #1
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    81
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Date in other languages

    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:
    PHP Code:
    $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.

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    I assume that you are using 'PHPFreeNews' in your case and I found one thread in their forum which discuss the exact problem of yours.

    http://www.phpfreenews.co.uk/forums/...26b77ec462048b

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

  3. #3
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    81
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks!!!!

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •