2020-02-07 00:54:01 +01:00
|
|
|
This directory contains the privacy policy (template) for exchange
|
|
|
|
operators.
|
|
|
|
|
|
|
|
|
|
|
|
Dependencies
|
|
|
|
============
|
|
|
|
|
|
|
|
Generating a new Privacy Policy requires Sphinx, LaTeX with babel
|
|
|
|
packages for all supported languages. On Debian, you should
|
|
|
|
at least install:
|
|
|
|
|
2022-05-07 19:29:04 +02:00
|
|
|
$ apt install python3-sphinx sphinx-intl texlive-lang-german texlive-lang-english latexmk texlive-latex-recommended texlive-latex-extra
|
2020-02-07 00:54:01 +01:00
|
|
|
|
|
|
|
(NOTE: List may be incomplete.)
|
|
|
|
|
|
|
|
|
|
|
|
Updating the Privacy Policy
|
|
|
|
===========================
|
|
|
|
|
|
|
|
The master file with the Privacy Policy is 'pp.rst'.
|
|
|
|
|
|
|
|
If you make substantial changes, you MUST change the "PP_VERSION"
|
|
|
|
in contrib/Makefile.am to the new Etag.
|
|
|
|
|
|
|
|
To begin the translation into other languages after editing the master
|
|
|
|
file, run
|
|
|
|
|
|
|
|
$ make gettext
|
|
|
|
|
|
|
|
to generate the master PO file. Then, run
|
|
|
|
|
|
|
|
$ sphinx-intl update -p _build/locale/ -l de -l fr -l it
|
|
|
|
|
|
|
|
to update the PO files for the various languages (extend the list of
|
|
|
|
languages as necessary). The PO files for the translators are kept
|
|
|
|
at locale/$LANG/LC_MESSAGES/pp.po for the language $LANG.
|
|
|
|
|
|
|
|
Once all PO files have been updated with new translations, run
|
|
|
|
|
|
|
|
$ make update-pp
|
|
|
|
|
|
|
|
in the "contrib/" directory to generate all of the formats. The
|
|
|
|
respective make rule calls the '../update-pp.sh' script in the
|
|
|
|
contrib/ directory, which calls the 'Makefile' in the pp/
|
|
|
|
directory for the various supported languages and file formats
|
|
|
|
and then moves the generated files to the target directory
|
|
|
|
('contrib/pp/$LANG/$VERSION.$FORMAT')
|
|
|
|
|
|
|
|
|
|
|
|
Adding a new language
|
|
|
|
=====================
|
|
|
|
|
|
|
|
To add a new language $LANG, add $LANG to "PP_LANGUAGES" in
|
|
|
|
'contrib/Makefile.am' and run
|
|
|
|
|
|
|
|
$ sphinx-intl update -p _build/gettext -l $LANG
|
|
|
|
|
|
|
|
to generate the PO template.
|