method

translate

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 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 14
        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.