exi18n v0.9.0 ExI18n.Loader behaviour View Source
Loads translations.
Link to this section Summary
Functions
Returns loader module based on type
that will load translation file.
Loads translations for locale
.
Loader type used to store translations.
Options for loader.
Link to this section Functions
Returns loader module based on type
that will load translation file.
Parameters
Examples
iex> ExI18n.Loader.get(:yml)
ExI18n.Loader.YAML
Loads translations for locale
.
It will use adapter based on storage
set in configuration. See get/1
Parameters
locale
:String
with name of locale/file.
Loader type used to store translations.
Options for loader.