diff --git a/Add-translations.md b/Add-translations.md new file mode 100644 index 0000000..6c4a623 --- /dev/null +++ b/Add-translations.md @@ -0,0 +1,6 @@ +## How to add translations + +1. Go to `/frontend` run `npm run gettext-extract` +This will create a translations.pot file in `frontend/src/resources` +2. Open this file in a translation editor (e.g. https://poedit.net/) and create a .po file in `frontend/src/resources` +3. To compile the .po file into our translations.json run `npm run gettext-compile` \ No newline at end of file