Just switching locale
Closed this issue · 2 comments
momolog commented
Using routing-filter, how would I stay on the same controller/action and just switch the locale?
Say I have some language buttons in my layout and want to switch the locale but always stay on the current page? Do I have to manipulate the current URL or is there a better way?
hukl commented
url_for(:overwrite_params => {:locale => :en}) would work for a link_to in rails 2.3.x
momolog commented
Exactly what I was looking for. Thanks a lot, hukl.