module

Rosetta::Localizable

Include this module in any class where you need to localize many values.

Instance methods

distance_of_time_in_words(*args, **options)
distance_of_time_in_words(*args, **options, &)
time_ago_in_words(*args, **options)
time_ago_in_words(*args, **options, &)
time_from_now_in_words(*args, **options)
time_from_now_in_words(*args, **options, &)

Macros

r_date(format)

Finds the translations for a given format to localize a date

r_number(format)

Finds the translations for a given format to localize a number

r_time(format)

Finds the translations for a given format to localize a time