]> cat aescling's git repositories - mastodon.git/commit
Use HTTP Accept-Language to detect locale (#1166)
authorDavid Authier <aweaoftheworld@gmail.com>
Sun, 9 Apr 2017 16:40:24 +0000 (18:40 +0200)
committerEugen <eugen@zeonfederated.com>
Sun, 9 Apr 2017 16:40:24 +0000 (18:40 +0200)
commitf0bd4394869305fc6605463efff53ecc6ff61046
tree41c43583d8f7300ec34d4c1dc327fcf0bf29bf77
parentb16fbd52b2c5471d401dbfe397a3e7dbaaa21225
Use HTTP Accept-Language to detect locale (#1166)

* Use HTTP Accept-Language to detect locale

* Fix gem order to comply with codeclimate

* Sort gem to comply with rubocop

* I18n.default_locale fallback when there is no accept-language header
Gemfile
Gemfile.lock
app/controllers/concerns/localized.rb