You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Firas A." <ta...@idigna.com> on 2006/06/28 10:46:33 UTC

Overriding Locale detection in T4

Hello,
 
The application I'm working on needs to be fully localized, which means
correct display of language, currency, date and number formats. In my
application specification I have the following setting:
meta key="org.apache.tapestry.accepted-locales" value="en,sv" which gives
english speaking and swedish speaking users access to the application. As
for the language, the requirement is satisfied.
 
But how about the currency/dates/numbers which, as everybody knows, are
dependent on the ISO country code? Is there a way to 'help' Tapestry create
a complete locale, i.e., 'en_GB' instead of just 'en'? Ideally, this routine
should be done once per session.
 
Thanks for your time!
 
</Firas>
 

Re: Overriding Locale detection in T4

Posted by Ron Piterman <rp...@gmx.net>.
take a look at the wiki -> tapestry 4 -> howtos

Cheers,
Ron


Firas A. wrote:
> Hello,
>  
> The application I'm working on needs to be fully localized, which means
> correct display of language, currency, date and number formats. In my
> application specification I have the following setting:
> meta key="org.apache.tapestry.accepted-locales" value="en,sv" which gives
> english speaking and swedish speaking users access to the application. As
> for the language, the requirement is satisfied.
>  
> But how about the currency/dates/numbers which, as everybody knows, are
> dependent on the ISO country code? Is there a way to 'help' Tapestry create
> a complete locale, i.e., 'en_GB' instead of just 'en'? Ideally, this routine
> should be done once per session.
>  
> Thanks for your time!
>  
> </Firas>
>  
> 


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