Hi Steve,
Thank you for the quick response and for the possible causes. I'm using the following versions. Django: 3.0.14 msgfmt: 0.19.8.1
Kind regards, Prasanth
On Wed, 20 Jul 2022 at 14:46, Stephen J. Turnbull < stephenjturnbull@gmail.com> wrote:
Prasanth Nair writes:
I'm in the process of installing a Mailman3 server. I get the following error messages when I run the command 'mailman-web compilemessages'. It was working fine before and noticed this recently. Can someone suggest a solution to solve this issue, please?
*Execution of msgfmt failed:
/opt/mailman/venv/lib/python3.8/site-packages/django_extensions/locale/ar/LC_MESSAGES/django.po:25:
This appears to be a Django issue, not Mailman. My guess is that it's a bug in Django's ar (Arabic?) translation, and a "%" sign is supposed to represent itself. In that case it needs to be doubled as "%%".
A second possibility is that you are using a very recent version of Django that requires a very recent version of msgfmt (from gettext-tools), which has extended the conversion operators. In this case, it would help to know
- What version is your Django?
- What version is your msgfmt?
Steve