exi18n v0.2.0 ExI18n.Loader.YAML
Loads translations from YAML files.
Summary
Functions
Loads yaml file with translations
Functions
Loads yaml file with translations.
Parameters
locale
:String
with name of locale/file.
Examples
iex> ExI18n.Loader.YAML.load("en")
%{"hello" => "Hello world", "hello_2" => %{"world" => "test"},"hello_many" => ["Joe", "Mike"], "hello_name" => "Hello %{name}","incomplete" => %{"path" => %{"text" => "test"}}, "number" => 1}