# `mix verified_translations.import_po`
[🔗](https://github.com/treathealth/verified_translations/blob/v0.1.1/lib/mix/tasks/verified_translations.import_po.ex#L1)

Imports translated messages from Gettext PO files into
`priv/translations/<domain>/*.json`.

    mix verified_translations.import_po [PRIV_GETTEXT_DIR] [--domain default]

Only messages with at least one translation in a configured locale are
imported, from the given domains (default: `default`; repeat `--domain`).
Existing JSON files are kept and only their empty locales are filled; an
unreadable existing file aborts the import. Fuzzy, plural and `msgctxt`
messages are skipped. Requires `:expo` (a dependency of Gettext).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
