Add translation
We are using gettext for the Vaas. To add a new translation do the following steps:
- Be sure you are in the
apps/vaas_webfolder and execute the following command:
mix gettext.extract
- This will create a new
default.potfile inapps/vaas_web/priv/gettext. To create a new locale folder, use the following command (we usefrin this example):
mix gettext.merge priv/gettext --locale fr
- Add translations to the newly generated
default.poand you are done!