Mix task to convert input i18next json file to po file for gettext
If available in Hex, the package can be installed
by adding i18next_to_gettext
to your list of dependencies in mix.exs
:
def deps do
[
{:i18next_to_gettext, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/i18next_to_gettext.
mix i18next_to_gettext.convert input-file output-file