Format Date in Spanish

Discussion in 'Installation/Configuration' started by jfruano, Jul 23, 2006.

  1. jfruano

    jfruano New Member

    How to configure the date in the server to view format in Spanish language ?.
    setlocale no works fine in php.


    Sample:
    <?
    setlocale(LC_ALL, 'esp');
    echo strftime("%A %e %B %Y", mktime(0, 0, 0, 12, 22, 2006)) ;
    ?>
    return = Friday 22 December 2006 :mad:

    I like = viernes diciembre 2006 :)

    This sample run O.K. in other server.


    I have tested setlocale 'es_es.iso-8859-1' - 'es-ESP' - 'es_ES' - 'es-ES' - '[email protected]' . but none works well :confused:

    Some suggestion ?

    (ISPConfig. 2.2.5, PHP 4.3.10.16, Apache2)

    Thanks.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Which date? Where? Maybe you can post a screenshot?
     

Share This Page