Mercurial > p > roundup > code
diff doc/installation.txt @ 8080:d1c29284ccd9
feat: issue2551287 - roundup-gettext extracts strings from detectors/extensions
Enhance roundup_gettext.py to extract strings from
detectors/extensions. If the polib module is available,
roundup-gettext will extract translatable strings from the tracker's
Python code. If polib is missing, it will print a warning.
Marcus did most of the work, I had to do a python 2-> conversion of
pygettext.py.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 13 Jul 2024 18:27:11 -0400 |
| parents | a4cb4e75d4e9 |
| children | 394f72021dad |
line wrap: on
line diff
--- a/doc/installation.txt Sat Jul 13 10:22:55 2024 -0400 +++ b/doc/installation.txt Sat Jul 13 18:27:11 2024 -0400 @@ -285,9 +285,18 @@ guide`_ for details. pyjwt - To use JWT (JSON web tokens) for login (experimental), install `pyjwt`_ - (v1.7.1, v2.0.1 tested). If you don't have it installed, JWT's - are not supported. + To use JWT (JSON web tokens) for login (experimental), install + `pyjwt`_ (v1.7.1, v2.0.1 tested). If you don't have it + installed, JWT's are not supported. + +polib + Roundup includes translations in various languages. To extract + strings designated for translation from your tracker's HTML + templates, you can utilize `roundup-gettext`. However, if you + wish to extract translatable strings from the Python code in + tracker's detectors or extensions directories using + roundup-gettext, you must install polib_. See the `developer's + guide`_ for details on translating your tracker. pywin32 - Windows Service You can run Roundup as a Windows service if pywin32_ is installed. @@ -2361,6 +2370,7 @@ https://dev.mysql.com/doc/refman/8.0/en/creating-accounts.html .. _apache: https://httpd.apache.org/ .. _brotli: https://pypi.org/project/Brotli/ +.. _`developer's guide`: developers.html .. _docutils: https://pypi.org/project/docutils/ .. _flup: https://pypi.org/project/flup/ .. _gpg: https://www.gnupg.org/software/gpgme/index.html @@ -2372,6 +2382,7 @@ .. _mod_wsgi: https://pypi.org/project/mod-wsgi/ .. _MySQLdb: https://pypi.org/project/mysqlclient/ .. _Olson tz database: https://www.iana.org/time-zones +.. _polib: https://polib.readthedocs.io .. _Psycopg2: https://www.psycopg.org/ .. _pyjwt: https://pypi.org/project/PyJWT/ .. _pyopenssl: https://pypi.org/project/pyOpenSSL/
