> How? Like this?
>
> def set_locale
>  I18n.locale = params[:locale] if params[:locale]
> end

Or like this....

http://github.com/karmi/rails_i18n_demo_app/tree/master/app/controllers/application.rb#L12-15

Karel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rails-i18n" 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/rails-i18n?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to