rebar3 erli18n report — per-(Domain, Locale) translation-completeness
report.
For each domain (and each locale found under the catalog root, or the one
named by --locale), it parses the .po, counts how many entries are
translated vs untranslated, and prints a deterministic table. An entry is
"translated" when its msgstr (singular) or every plural form is non-empty;
#, fuzzy entries are reported separately because erli18n_po:parse drops
them by default — so the count reflects what the RUNTIME would actually
serve, matching PSD-001.
The output format is fixed (and asserted byte-for-byte in CT):
erli18n translation report
==========================
domain: default
pt_BR 12/15 translated (3 missing)
es 15/15 translated (0 missing)
Summary
Functions
Build and print the completeness report.
Render a provider error to a human string.
Register the report provider under the erli18n namespace.
Functions
-spec do(rebar3_erli18n_host:state()) -> {ok, rebar3_erli18n_host:state()} | {error, string()}.
Build and print the completeness report.
Render a provider error to a human string.
-spec init(rebar3_erli18n_host:state()) -> {ok, rebar3_erli18n_host:state()}.
Register the report provider under the erli18n namespace.