Module: I18n::Backend::FlattenYml

Defined in:
lib/i18n/backend/flatten_yml.rb

Instance Method Summary collapse

Instance Method Details

#store_translations(locale, data, options = {}) ⇒ Object

Overwrites #I18n::Backend::Base#store_translations to unify translation keys before storing



27
28
29
30
# File 'lib/i18n/backend/flatten_yml.rb', line 27

def store_translations(locale, data, options = {})
  data = unify_hash(data)
  super(locale, data, options)
end