iain / http_accept_language

Ruby on Rails plugin. Fishes out the Accept-Language header into an array.
http://rails-i18n.org/
782 stars 120 forks source link

Accept available languages as symbols on #sanitize_available_locales #37

Closed planas closed 10 years ago

planas commented 10 years ago

Quick fix to make work #language_region_compatible_from directly with the array of symbols stored at I18n.available_locales on Rails.

DouweM commented 10 years ago

Thanks!