instance method
normalize_flat_keys
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
normalize_flat_keys(locale, key, scope, separator)
Shortcut to I18n::Backend::Flatten.normalize_flat_keys and then resolve_links.
Parameters
-
localereq -
keyreq -
scopereq -
separatorreq
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/flatten.rb, line 39
def normalize_flat_keys(locale, key, scope, separator)
key = I18n::Backend::Flatten.normalize_flat_keys(locale, key, scope, separator)
resolve_link(locale, key)
end
Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/flatten.rb line 39
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in I18n::Backend::Flatten