Using gettext in elixir

hello!
question about using gettext in elixir (not in phoenix)

what i do –

in template

hello_text = gettext "happy using gettext for you, my friend!"

in console
mix gettext.extract mix gettext.merge gettext --locale en mix gettext.merge gettext --locale ua mix gettext.merge gettext --locale ru mix gettext.merge gettext --locale es

and now all ok – pot and po-files are created

problem is next –
i do not know how compile-load po-files
(docs and google don’t say anything)

what to do?

thanks

2 Likes

all ok – i put that to default dir “priv” + little setting

2 Likes