Smigge wrote:
Isn't there a simple way of just changing the locale - even only within one
xslt?
As you can see there is no standardized way of handling dates
locale-aware in XSLT. I really recommend to do this using i18n
functionality of Cocoon.
Joerg
-Original Message-
From: Smigge [mailto:[EMAIL PROTECTED]
Sent: dinsdag 2 december 2008 9:22
To: users@cocoon.apache.org
Subject: RE: How to set the language for a date?
Jasha Joachimsthal-2 wrote:
-Original Message-
From: Smigge [mailto:[EMAIL
Jasha Joachimsthal-2 wrote:
-Original Message-
From: Smigge [mailto:[EMAIL PROTECTED]
Sent: dinsdag 2 december 2008 8:18
To: users@cocoon.apache.org
Subject: RE: How to set the language for a date?
Jasha Joachimsthal-2 wrote:
-Original Message-
Jasha Joachimsthal-2 wrote:
-Original Message-
If the transformer is not yet defined in your sitemap or its ancestors
you'll have to define it in map:components -- map:transformers.
map:transformer name=i18n
src=org.apache.cocoon.transformation.I18nTransformer
I'm using http://exslt.org/dates-and-times for creating dates, but it's
creating the times in my system language. I would like to change this to
English. How can this be done?
I'm also currently using the troublesome way of putting the formats, by
using date:month-abbreviation() and such
-Original Message-
From: Smigge [mailto:[EMAIL PROTECTED]
Sent: maandag 1 december 2008 15:53
To: users@cocoon.apache.org
Subject: How to set the language for a date?
I'm using http://exslt.org/dates-and-times for creating
dates, but it's creating the times in my system
Jasha Joachimsthal-2 wrote:
-Original Message-
From: Smigge [mailto:[EMAIL PROTECTED]
Sent: maandag 1 december 2008 15:53
To: users@cocoon.apache.org
Subject: How to set the language for a date?
I'm using http://exslt.org/dates-and-times for creating
dates, but it's
-Original Message-
From: Smigge [mailto:[EMAIL PROTECTED]
Sent: dinsdag 2 december 2008 8:18
To: users@cocoon.apache.org
Subject: RE: How to set the language for a date?
Jasha Joachimsthal-2 wrote:
-Original Message-
From: Smigge [mailto:[EMAIL