summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2019-10-13 13:03:10 +0200
committerGitHub <noreply@github.com>2019-10-13 13:03:10 +0200
commitf7bbcfb345c77a2dc89b18854352ee92c8c3cea8 (patch)
treea3c92b65a57471e075fbc0cea6069da438bd4c58 /README.md
parentb581da01a3dff2e6e8fbb748050442b22a4af213 (diff)
parentd2e3ce27f0a0e4c36fd12ed451e6c829ba510e49 (diff)
Merge pull request #655 from MyIgel/ci-build-translation
CI: Build translation files for container and release archive, load .po if .mo not generated
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5cf9f652..9b4a3aaf 100644
--- a/README.md
+++ b/README.md
@@ -58,6 +58,11 @@ The following instructions explain how to get, build and run the latest engelsys
```bash
yarn build
```
+ * Optionally (for better performance)
+ * Generate translation files
+ ```bash
+ find resources/lang/ -type f -name '*.po' -exec sh -c 'file="{}"; msgfmt "${file%.*}.po" -o "${file%.*}.mo"' \;
+ ```
### Configuration and Setup
* The webserver must have write access to the ```import``` and ```storage``` directories and read access for all other directories