abstract struct Gettext::Locale

Direct Known Subclasses

Defined in:

gettext.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def catalog : Hash(Msg, String) #

[View source]
def catalog=(catalog : Hash(Msg, String)) #

[View source]
def gettext(message) #

[View source]
def metadata : Hash(String, String) #

[View source]
def metadata=(metadata : Hash(String, String)) #

[View source]
def ngettext(singular : String, n : Int32) : String #

[View source]
def ngettext(singular : String, plural : String | Nil = nil, n : Int32 = 1) : String #

[View source]
def plural : Proc(Int32, Int32) #

[View source]
def plural=(plural : Proc(Int32, Int32)) #

[View source]