instance method
store_translations
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
store_translations(locale, data)
Stores translations for the given locale in memory. This uses a deep merge for the translations hash, so existing translations will be overwritten by new ones only at the deepest level of the hash.
Parameters
-
localereq -
datareq
Source
# File activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb, line 20
def store_translations(locale, data)
merge_translations(locale, data)
end
Defined in activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb line 20
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in I18n::Backend::Simple