PointClickEngine::Localization::Translation
Inherits Reference < Object
Translation entry with support for pluralization and interpolation
Constructors
new(key : String)
SourceInstance methods
add_plural_forms(locale : Locale, forms : Hash(String, String))
Sourceadd_translation(locale : Locale, value : String)
Sourceget(locale : Locale, count : Int32 | Nil = nil, params : Hash(String, String) | Nil = nil) : String
Sourcekey
Sourcekey=(key : String)
Sourcetranslations
Sourcetranslations=(translations : Hash(Locale, String | Hash(String, String)))
Source