class CrystalI18n::I18n

Overview

DEPRECATED CrystalI18n::I18n has been renamed to RubyI18n::Yaml

Defined in:

backend/crystal-i18n.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(locale_directory_path : String, reference_locale : String = "en") #

DEPRECATED CrystalI18n::I18n has been renamed to RubyI18n::Yaml


[View source]

Instance Method Detail

def create #

DEPRECATED CrystalI18n::I18n has been renamed to RubyI18n::Yaml


[View source]
def define_rule(locale : String, value : Int32 | Int64 | Float64 -> String) #

DEPRECATED CrystalI18n::I18n has been renamed to RubyI18n::Yaml


[View source]
def localize(locale : String, time : Time, format : String) #

DEPRECATED CrystalI18n::I18n has been renamed to RubyI18n::Yaml


[View source]
def plural_rules : Hash(String, Int32 | Int64 | Float64 -> String) #

DEPRECATED CrystalI18n::I18n has been renamed to RubyI18n::Yaml


[View source]
def select(locale) #

DEPRECATED CrystalI18n::I18n has been renamed to RubyI18n::Yaml


[View source]
def translate(key : String, count : Int | Float? = nil, iter : Int? = nil, scope : Indexable(String) | String? = nil, **kwargs) #

DEPRECATED CrystalI18n::I18n has been renamed to RubyI18n::Yaml


[View source]
def translate(locale : String, key : String, count : Int | Float? = nil, iter : Int? = nil, scope : Indexable(String) | String? = nil, **kwargs) #

DEPRECATED CrystalI18n::I18n has been renamed to RubyI18n::Yaml


[View source]