Helpers related to locale i18n translation within templates.
Delegates to I18n.localize with no additional functionality.
@param [Symbol] *args
The keys to retrieve.
@return [String]
The translation for the specified keys.
# File lib/padrino-helpers/translation_helpers.rb, line 30 def localize(*args) I18n.localize(*args) end
Delegates to I18n.translate with no additional functionality.
@param [Symbol] *args
The keys to retrieve.
@return [String]
The translation for the specified keys.
# File lib/padrino-helpers/translation_helpers.rb, line 16 def translate(*args) I18n.translate(*args) end