2 Mar
2021
2 Mar
'21
6:16 p.m.
On 3/2/21 7:55 AM, Duane Raymond wrote:
The problems I've encountered so far are:
- Where do I set the local of the Postorius interface?
- Individual lists have a language setting, but it doesn't seem to reflect what the Postorius locales are as the only english option is "English (USA)" and none of the other English speaking locales and on the file system there is no en-us PO files....so I suspect I'm looking in the wrong place.
Multiple things are required.
In order to be able to set the list's preferred_language via Postorius,
the language must be included in the LANGUAGES definition in
postorius/utils.py. However, you can set the list's preferred_language
in Mailman core via REST
or mailman shell
or direct update of the
database.
Then there must be message catalogs for the language in
postorius/locale, django_mailman3/locale and hyperkitty/locale and these
must be compiled by the Django management command compilemessages
.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan