allow users to select and retain a language
authorLunar <lunar@anargeek.net>
Tue, 20 Mar 2012 17:47:19 +0000 (18:47 +0100)
committerLunar <lunar@anargeek.net>
Thu, 14 Mar 2013 09:12:09 +0000 (10:12 +0100)
commit94855e0c4f6350b8aea698336c585c7f19774380
treef01811839d14043d1cd67b2d7f67f83b316ae78f
parentf279ad0454660527f96e4bd8e9e33cd3e0602d1a
allow users to select and retain a language

Instead of relying purely on the `Accept-language` header and on an hidden
parameter, we now offer links for users to select one of the supported
languages.

This selection is then retained by using Sinatra cookie based sessions.
Gemfile.lock
coquelicot.gemspec
lib/coquelicot/app.rb
spec/coquelicot/app_spec.rb
spec/coquelicot_spec.rb
views/index.haml
views/layout.haml
views/style.sass