module Rosetta::Localizable
Overview
Include this module in any class where you need to localize many values.
Defined in:
rosetta/localizable.crInstance Method Summary
- #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, &)
Macro Summary
-
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