[pmwiki-users] Local Variable - Date Translation

edwin marte edwin.marte at leidba.com
Thu Oct 9 15:23:22 CDT 2008


Solved!  simple.
I just wrote      setlocale(LC_TIME, 'spanish'); as a single line in the
config

Regards,
Edwin


2008/10/9 edwin marte <edwin.marte at leidba.com>

> I am trying to define a Local Variable for today Dates in Spanish. I have
> been reading and everything points that I need to use function 'setlocale(LC_ALL,
> "spanish");'
> somehow in the code Below:
>
> $FmtPV['$Hoy'] = 'strftime("%d. %B %Y") ';
>
> Any Pointers how to set up setlocale and strftme together in a Local
> Variable ?
>
> Regards,
> Edwin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20081009/b9735d0f/attachment.html 


More information about the pmwiki-users mailing list