Add translation

We are using gettext for the Vaas. To add a new translation do the following steps:

  1. Be sure you are in the apps/vaas_web folder and execute the following command:
mix gettext.extract
  1. This will create a new default.pot file in apps/vaas_web/priv/gettext. To create a new locale folder, use the following command (we use fr in this example):
mix gettext.merge priv/gettext --locale fr
  1. Add translations to the newly generated default.po and you are done!
Last Updated: 4/3/2019, 9:49:38 AM