From 2b69dbfa9f079df48e448c0adf734fc659ee5aa8 Mon Sep 17 00:00:00 2001 From: Theresa Gresch Date: Mon, 27 Jan 2020 11:40:47 +0100 Subject: [PATCH] Created Add translations (markdown) --- Add-translations.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Add-translations.md 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