Module I18n::Backend::Simple::Implementation
In: lib/active_support/vendor/i18n-0.4.1/i18n/backend/simple.rb

Methods

Included Modules

Base

Public Instance methods

Get available locales from the translations hash

Clean up translations hash and set initialized to false on reload!

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.

Protected Instance methods

Looks up a translation from the translations hash. Returns nil if eiher key is nil, or locale, scope or key do not exist as a key in the nested translations hash. Splits keys or scopes containing dots into multiple keys, i.e. currency.format is regarded the same as %w(currency format).

[Validate]