Roundup Tracker - Issues

Issue 2551287

classification
Enhance roundup_gettext.py to extract strings from detectors/extensions
Type: behavior Severity: normal
Components: Web interface, Mail interface Versions:
process
Status: new remind
:
: : rouilj
Priority: : patch

Created on 2023-07-21 00:22 by rouilj, last changed 2023-07-21 00:36 by rouilj.

Files
File name Uploaded Description Edit Remove
roundup_gettext_enhancements.patch rouilj, 2023-07-21 00:35
Messages
msg7806 Author: [hidden] (rouilj) Date: 2023-07-21 00:33
In issue2551184 the 4th mega patch included updates for roundup_gettext.py
to extract text from detectors and extensions. It used to only get translations from
templates.

This patch requires a vendored pygettext.py which is mostly abandoned although
some interest was expressed:

 https://discuss.python.org/t/modernize-and-add-missing-features-to-pygettext/26455

It also requires that polib (https://polib.readthedocs.io) be installed to merge
the po files generated from the html template files and detector/extensions (msg7469).

Not sure we want to require that.

Ralf thoughts?


I'll upload the patch I currently synthesized out of the mega patch.
History
Date User Action Args
2023-07-21 00:36:58rouiljsetresolution: remind
2023-07-21 00:35:33rouiljsetfiles: + roundup_gettext_enhancements.patch
keywords: + patch
2023-07-21 00:33:24rouiljsettype: behavior
messages: + msg7806
nosy: + rouilj
components: + Web interface, Mail interface
title: Enhance roundup -> Enhance roundup_gettext.py to extract strings from detectors/extensions
2023-07-21 00:22:48rouiljcreate