Module Globalize::CoreExtensions::Symbol
In: vendor/plugins/globalize/lib/globalize/localization/core_ext.rb

Methods

t   translate  

Public Instance methods

t(default = nil)

Alias for translate

Translates the symbol into the active language. Underscores are converted to spaces.

If there is no translation available, default will be returned, or if it’s not supplied, the original string will be returned.

[Source]

    # File vendor/plugins/globalize/lib/globalize/localization/core_ext.rb, line 44
44:       def translate(default = nil)
45:         Locale.translate(self, default)
46:       end

[Validate]