method

translate

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: Translator
translate() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/tags/translator.rb, line 12
        def translate
          translated_attribute = I18n.t("#{object_name}.#{method_and_value}", default: i18n_default, scope: scope).presence
          translated_attribute || human_attribute_name
        end
Register or log in to add new notes.