module Rosetta::Localizable

Overview

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

Defined in:

rosetta/localizable.cr

Instance Method Summary

Macro Summary

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]

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]