module CrI18n
Defined in:
cr-i18n/enforce_labels_check.crcr-i18n/formatter.cr
cr-i18n/label_loader.cr
cr-i18n/localization.cr
cr-i18n/macro_runners/label_checker.cr
cr-i18n/macros.cr
cr-i18n/pluralization.cr
Constant Summary
-
LABEL_DIRECTORY =
[] of Nil
-
VISITED_LABELS =
[] of Nil
Class Method Summary
- .current_locale
- .enforce_labels
- .get_label(target : String, lang_locale : String = "", *, count : Float | Int | Nil = nil, **splat)
- .load_labels(root : String)
- .missed
- .resolve_to_root
- .resolve_to_root=(value : Bool)
- .root_locale
- .root_locale=(value : String)
- .running_tests
- .running_tests=(value : Bool)
- .supported_locales
- .with_locale(lang_locale : String, &)
Macro Summary
Class Method Detail
def self.get_label(target : String, lang_locale : String = "", *, count : Float | Int | Nil = nil, **splat)
#