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