module Rosetta::Localizable

Overview

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

Defined in:

rosetta/localizable.cr

Macro Summary

Instance Method Summary

Macro Detail

macro r_date(format) #

Finds the translations for a given format to localize a date


[View source]
macro r_number(format) #

Finds the translations for a given format to localize a number


[View source]
macro r_time(format) #

Finds the translations for a given format to localize a time


[View source]

Instance Method Detail

def distance_of_time_in_words(*args, **options) #

[View source]
def distance_of_time_in_words(*args, **options, &) #

[View source]
def time_ago_in_words(*args, **options) #

[View source]
def time_ago_in_words(*args, **options, &) #

[View source]
def time_from_now_in_words(*args, **options) #

[View source]
def time_from_now_in_words(*args, **options, &) #

[View source]