exi18n v0.1.0 ExI18n.Loader.YAML

Loads translations from YAML files.

Summary

Functions

Loads yaml file with translations

Functions

load(locale)
load(String.t) :: Map.t

Loads yaml file with translations.

Parameters

  • locale: String with name of locale/file.

Examples

iex> ExI18n.Loader.YAML.load("en")
%{"hello" => "world"}