You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Carl Brodeur <ca...@modelio.com> on 2003/04/08 01:30:02 UTC
Localization
Hi:
I am building a site in two languages english/french. The home page of
the site will be a language selection page. The language selection
will lead to a page called home.page (using a PageLink).
I would expect to be able to have a home_fr.html and a home_en.html to
handle each language.
How can specify a language selection and have the home component select
the correct template in a single request ?
Re: Localization
Posted by Christian Sell <ch...@netcologne.de>.
this is a quirk I have run into as well. The answer I got on this list
was to force a page reload by throwing redirect exception (if I remember
correctly), which of course involves another client/server roundtrip.
I think this was going to be adressed in 2.4.
Carl Brodeur wrote:
> Hi:
>
> I am building a site in two languages english/french. The home page of
> the site will be a language selection page. The language selection
> will lead to a page called home.page (using a PageLink).
>
> I would expect to be able to have a home_fr.html and a home_en.html to
> handle each language.
>
> How can specify a language selection and have the home component select
> the correct template in a single request ?
>
>>From what I understand (and verified), you if you change the engine
> Locale within a cycle, the page will still select the previous locale
> (the default) and until the page is called againg in an another cycle.
>
>
> Any tips on how to gracefully handle Locale change ?
>
> cheers
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>