summaryrefslogtreecommitdiffstats
path: root/MANIFEST.in
diff options
context:
space:
mode:
authorMichael Weiser <michael.weiser@gmx.de>2019-02-14 21:59:53 +0000
committerMichael Weiser <michael.weiser@gmx.de>2019-02-18 17:58:58 +0000
commitd6dbf8f9e42692fb409c0ce683b8bde93c43fbe9 (patch)
tree7dac6ed942194abedbb63e70b3ab6cf0c60cda44 /MANIFEST.in
parent603abb51499c61f02bbcfc3bfc4112b62907da30 (diff)
Localise client communication
Since we're communicating with a client that potentially wants to present our findings to an administrator or even end user to inform them about what's going on with their email or data, we had German messages going to the client. Obviously, this is very inconvenient and inflexible for non-German speakers. Also, it doesn't look very good in the code base. Replace static German strings in client communication with English message ids for internationalisation by gettext. Add an appropriate German message file. Use the pure-python standard-library gettext module of python to employ message catalog files. Add the catalog files to MANIFEST.in for automatic installation into the package by setup.py. Add Babel as a development dependency to extract messages and update and compile the catalogs. Add documentation for developers and translators, how to work with these translations.
Diffstat (limited to 'MANIFEST.in')
-rw-r--r--MANIFEST.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
index 8ca723f..fd4e3d7 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -3,3 +3,4 @@ include LICENSE.txt
include requirements.txt
include peekaboo.conf.sample
include systemd/peekaboo.service
+graft peekaboo/locale