instance method
localize
Ruby on Rails 6.0.6
Since v2.2.3Signature
localize(object, **options)
Delegates to I18n.localize with no additional functionality.
See www.rubydoc.info/github/svenfuchs/i18n/master/I18n/Backend/Base:localize for more information.
Parameters
-
objectreq -
optionskeyrest
Source
# File actionview/lib/action_view/helpers/translation_helper.rb, line 125
def localize(object, **options)
I18n.localize(object, **options)
end
Defined in actionview/lib/action_view/helpers/translation_helper.rb line 125
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Helpers::TranslationHelper