cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Smigge <jogil...@hotmail.com>
Subject RE: How to set the language for a date?
Date Tue, 02 Dec 2008 09:44:35 GMT


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">
>      <catalogues default="messages">
>        <catalogue id="messages" name="messages"
> location="translations"/>
>        </catalogues>
> </map:transformer>
> 
> Jasha
>  
>> Isn't there a simple way of just changing the locale - even 
>> only within one
>> xslt?
> Then you have to do it by hand. You can pass a parameters to the xsl by
> using <map:parameter name="parametername" value="parametervalue"/>
> 
> Jasha Joachimsthal 
>  
> 

Mm... I knew I can pass parameters like that, but how does passing the
parameter help? I could define the language within the xslt, if I knew how. 

Any way, thanks for the help. Apparently I don't have to care about the date
format that much at this point.
-- 
View this message in context: http://www.nabble.com/How-to-set-the-language-for-a-date--tp20773396p20788939.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message