• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic change of locale based on a click of a link

 
vikram nalagampalli
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to achieve the following in my application, giving user ability to click a link that changes the locale of the application and there by load corresponding locale based ApplicationResources.properties.
So my questions are
1. I would like to know the best practice. i.e. when user clicks the link (france), i would like to know if i make it a new action associated with it or do it some other way.
2. I also need to know which method will let me come back to same page when i click this link(france).
I am curently executing an action associated with the link and changing the locale in the session. But i am not able to return to the same page. i am not sure how i can get back to same page.
Thanks in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic