[Pmwiki-users] I don't want to read "January" but "Gener"
Patrick R. Michaud
pmichaud
Thu Jan 6 15:09:11 CST 2005
On Thu, Jan 06, 2005 at 01:46:24PM +0100, joan wrote:
> Hi all,
> I translated many english words into my language, but I couldn't
> translate the date above all the documents (Last modified date
> January 01, 1970, at 12:00 AM).. can I change this manually?
> How can I do this?
If you're using PmWiki's internationalization features
(http://www.pmwiki.org/wiki/PmWiki/Internationalizations), then
the date and time is controlled by the "Locale" setting in the
language's XLPage.
We used to have a Spanish translation available on pmwiki.org but it's
out of date; I've set up new template pages for it at
http://www.pmwiki.org/wiki/PmWikiEs/XLPage
http://www.pmwiki.org/wiki/PmWikiEs/PmWikiEs
If someone wants to provide the Spanish translation I'd really
appreciate it. I've already set up the Locale value in the XLPage
to be 'es_ES' -- you can see the effect in the last modified date
at the bottom of the page (i.e., "enero 06, 2005, at 03:05").
If you're just wanting to set the date manually in config.php instead
of going through the built-in internationalizations (XLPage), add the
following to your config.php:
setlocale(LC_TIME, 'es_ES');
where "es_ES" is the appropriate locale language identifier for your
area (Spanish in this case). This will cause all dates+times to be
rendered in Spanish.
Pm
More information about the pmwiki-users
mailing list