Glot.Translator (Glot v0.1.1)

View Source

Summary

Functions

Returns a specification to start this module under a supervisor.

Checks if there are uncommitted changes.

Returns the list of file paths that were used to load translations.

Reloads translations from files.

Starts the translator with configuration.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

grep_keys(ets_table, locale, substring)

has_changes?(pid)

Checks if there are uncommitted changes.

insert_translation(pid, key, value)

loaded_files(pid)

Returns the list of file paths that were used to load translations.

reload(pid)

Reloads translations from files.

start_link(opts)

Starts the translator with configuration.

t(ets_table, key, locale, default_locale, interpolations)

to_table_name(name)