On Tue, Mar 2, 2021, at 7:55 AM, Duane Raymond wrote:
Hi everyone,
Thanks to Brian I'm up and running with my migrated mailman3 lists and am now starting to get into customising the interface (styling and content). I've been trying to figure out how to set/change the Postorius locale - I specifically want to change some text strings on the info page without breaking the i18n mechanisms. I've worked with po and mo files before, so changing and compiling them isn't a problem. The problems I've encountered so far are:
- Where do I set the local of the Postorius interface?
The installation has a default Language setting which you can set in the settings.py
LANGUAGE_CODE = "en"
- 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.
List level settings affect the Mailman level emails that go out, not the interface.
The users can choose which language the interface shows up in using their browser settings. We primarily depend on the Accept-Language header in the request to determine the language of the response.
While users do have a preffered-language setting, it currently isn't used to determine the language of the UI. Like list setting, it is only used to determine the language of the emails sent out (user's preferences override the list's default language).
Am I looking at this all wrong? The documentation doesn't seem to have any info about this and yet the mechanisms seem to be there.
Once I learn more I'm quite keen to start working on improving the documentation based on what I learn.
Cheers,
Duane
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)