π£οΈTranslations

How to add update your pot/po files after adding more gettexts
How to add/remove languages
Last updated
Was this helpful?

Last updated
Was this helpful?
Was this helpful?
mix gettext.extract --mergeconfig :petal_pro, PetalProWeb.Gettext, allowed_locales: ~w(en fr)
config :petal_pro, :language_options, [
%{locale: "en", flag: "π¬π§", label: "English"},
%{locale: "fr", flag: "π«π·", label: "French"}
]mix gettext.merge priv/gettext --locale fr