-I18n::Backend::Simple.include(I18n::Backend::Pluralization)
-I18n::Backend::Simple.include(I18n::Backend::PluralizationFallback)
-I18n.load_path << "#{Rails.root}/config/pluralizers.rb"
+module OpenStreetMap
+ module I18n
+ module NormaliseLocales
+ def store_translations(locale, data, options = {})
+ locale = ::I18n::Locale::Tag::Rfc4646.tag(locale).to_s
+
+ super(locale, data, options)
+ end
+ end