abstract class I18n::Loader::Base
- I18n::Loader::Base
- Reference
- Object
Overview
Translations loader base class.
Direct Known Subclasses
Defined in:
i18n/loader/base.crMacro Summary
-
embed(path)
Allows to embed raw translations inside compiled binaries.
Instance Method Summary
-
#load : TranslationsHash
Loads the translations targetted by the current loader.
Macro Detail
macro embed(path)
#
Allows to embed raw translations inside compiled binaries.
This macro is not implemented by default and is optional. Depending on the considered loader, and how / where translations are stored, this feature could implemented or not.