Mercurial > p > roundup > code
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 8079:e3c5f85af7d5 | 8080:d1c29284ccd9 |
|---|---|
| 283 using the redis-py_ pypi package. See the section on | 283 using the redis-py_ pypi package. See the section on |
| 284 `Using Redis for Session Databases`_ in the `administration | 284 `Using Redis for Session Databases`_ in the `administration |
| 285 guide`_ for details. | 285 guide`_ for details. |
| 286 | 286 |
| 287 pyjwt | 287 pyjwt |
| 288 To use JWT (JSON web tokens) for login (experimental), install `pyjwt`_ | 288 To use JWT (JSON web tokens) for login (experimental), install |
| 289 (v1.7.1, v2.0.1 tested). If you don't have it installed, JWT's | 289 `pyjwt`_ (v1.7.1, v2.0.1 tested). If you don't have it |
| 290 are not supported. | 290 installed, JWT's are not supported. |
| 291 | |
| 292 polib | |
| 293 Roundup includes translations in various languages. To extract | |
| 294 strings designated for translation from your tracker's HTML | |
| 295 templates, you can utilize `roundup-gettext`. However, if you | |
| 296 wish to extract translatable strings from the Python code in | |
| 297 tracker's detectors or extensions directories using | |
| 298 roundup-gettext, you must install polib_. See the `developer's | |
| 299 guide`_ for details on translating your tracker. | |
| 291 | 300 |
| 292 pywin32 - Windows Service | 301 pywin32 - Windows Service |
| 293 You can run Roundup as a Windows service if pywin32_ is installed. | 302 You can run Roundup as a Windows service if pywin32_ is installed. |
| 294 Otherwise it must be started manually. | 303 Otherwise it must be started manually. |
| 295 | 304 |
| 2359 | 2368 |
| 2360 .. _`adding MySQL users`: | 2369 .. _`adding MySQL users`: |
| 2361 https://dev.mysql.com/doc/refman/8.0/en/creating-accounts.html | 2370 https://dev.mysql.com/doc/refman/8.0/en/creating-accounts.html |
| 2362 .. _apache: https://httpd.apache.org/ | 2371 .. _apache: https://httpd.apache.org/ |
| 2363 .. _brotli: https://pypi.org/project/Brotli/ | 2372 .. _brotli: https://pypi.org/project/Brotli/ |
| 2373 .. _`developer's guide`: developers.html | |
| 2364 .. _docutils: https://pypi.org/project/docutils/ | 2374 .. _docutils: https://pypi.org/project/docutils/ |
| 2365 .. _flup: https://pypi.org/project/flup/ | 2375 .. _flup: https://pypi.org/project/flup/ |
| 2366 .. _gpg: https://www.gnupg.org/software/gpgme/index.html | 2376 .. _gpg: https://www.gnupg.org/software/gpgme/index.html |
| 2367 .. _jinja2: https://palletsprojects.com/p/jinja/ | 2377 .. _jinja2: https://palletsprojects.com/p/jinja/ |
| 2368 .. _markdown: https://python-markdown.github.io/ | 2378 .. _markdown: https://python-markdown.github.io/ |
| 2370 .. _mistune: https://pypi.org/project/mistune/ | 2380 .. _mistune: https://pypi.org/project/mistune/ |
| 2371 .. _mod_python: https://github.com/grisha/mod_python | 2381 .. _mod_python: https://github.com/grisha/mod_python |
| 2372 .. _mod_wsgi: https://pypi.org/project/mod-wsgi/ | 2382 .. _mod_wsgi: https://pypi.org/project/mod-wsgi/ |
| 2373 .. _MySQLdb: https://pypi.org/project/mysqlclient/ | 2383 .. _MySQLdb: https://pypi.org/project/mysqlclient/ |
| 2374 .. _Olson tz database: https://www.iana.org/time-zones | 2384 .. _Olson tz database: https://www.iana.org/time-zones |
| 2385 .. _polib: https://polib.readthedocs.io | |
| 2375 .. _Psycopg2: https://www.psycopg.org/ | 2386 .. _Psycopg2: https://www.psycopg.org/ |
| 2376 .. _pyjwt: https://pypi.org/project/PyJWT/ | 2387 .. _pyjwt: https://pypi.org/project/PyJWT/ |
| 2377 .. _pyopenssl: https://pypi.org/project/pyOpenSSL/ | 2388 .. _pyopenssl: https://pypi.org/project/pyOpenSSL/ |
| 2378 .. _pyreadline3: https://pypi.org/project/pyreadline3/ | 2389 .. _pyreadline3: https://pypi.org/project/pyreadline3/ |
| 2379 .. _pysqlite: https://pysqlite.org/ | 2390 .. _pysqlite: https://pysqlite.org/ |
