I have several resources and I want to somehow have a :lang parameter in the header. So /en/posts/ would direct to posts_controller/index with params[:lang] == en.
How is this usually done? It looks ugly to have to add ?lang=en on every link and feel very un-railsy.
I think you know what I'm talking about even if I'm not very clear, what is the norm here?