Marnen Laibow-Koser wrote:
> Why not store the locale in the session, instead of passing around 
> hidden fields?

>From http://guides.rubyonrails.org/i18n.html
- - - -
You may be tempted to store the chosen locale in a session or a cookie. 
Do not do so. The locale should be transparent and a part of the URL. 
This way you don’t break people’s basic assumptions about the web 
itself: if you send a URL of some page to a friend, she should see the 
same page, same content.
- - - -
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to