You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kent Tong <ke...@cpttm.org.mo> on 2005/10/02 04:46:00 UTC
Re: Alternate languages within the same office
Joseph Polanik <jPolanik <at> nc.rr.com> writes:
> But, we also need to allow users in adjacent cubicles of the same office
> to choose whether to see the English or the Spanish version. (A default
> language for each user based on a profile setting; but, also a button on
> the screen that switches languages based on the fly --- so that a
> bilingual user could switch back and forth based on the native language
> of the user's client.)
>
> It seems this issue (which I'm calling 'diversification') is not so well
> resolved. Any thoughts on how best to go about this?
You can achieve this effect by setting the engine's locale and calling
cleanup() on the request cycle before throwing a PageRedirectException.
--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org