Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Forrest: User

maintaining the non-default locale setting

 

 

Forrest user RSS feed   Index | Next | Previous | View Threaded


praveen.bhatia at sumpurn

Mar 16, 2009, 12:04 AM

Post #1 of 2 (193 views)
Permalink
maintaining the non-default locale setting

Hi,
How does one maintain a locale setting set by the user?
Example:
1) Forrest is say set in default English locale
2) If we add a clickable option to choose language, say, french (?locale=fr)
3) User clicks french. The current page displayed should turn to French
4) When he goes to next page that should also be in French (and not English)

How does one carry this new locale setting by the user to the subsequent
pages?

One of the forrest users website does this, so it is doable! (refer :
http://www.verit.de/de/index.html). Can someone let us know how.

thanks
Praveen


thorsten at apache

Mar 16, 2009, 4:22 PM

Post #2 of 2 (182 views)
Permalink
Re: maintaining the non-default locale setting [In reply to]

On Mon, 2009-03-16 at 17:04 +0900, Dr. Bhatia Praveen wrote:
> Hi,
> How does one maintain a locale setting set by the user?
> Example:
> 1) Forrest is say set in default English locale
> 2) If we add a clickable option to choose language, say, french (?locale=fr)
> 3) User clicks french. The current page displayed should turn to French
> 4) When he goes to next page that should also be in French (and not English)
>
> How does one carry this new locale setting by the user to the subsequent
> pages?
>
> One of the forrest users website does this, so it is doable! (refer :
> http://www.verit.de/de/index.html). Can someone let us know how.

Not sure but it seems they are matching the language via the path
(.../de/...). From there you can implement a match in your sitemap that
is doing the rewrite.

salu2
--
Thorsten Scherler <thorsten.at.apache.org>
Open Source <consulting, training and solutions>

Forrest user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.