summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2002-12-12 03:32:48 +0000
committerbwarsaw2002-12-12 03:32:48 +0000
commitaed97fc00a894d1d1d1ebb9016c70d2024bddf9d (patch)
tree8e0f5b4bae9a7b2fb08e7be9a5a677a72babae57
parent8bf2d7e19169995b053f886e96a40a5be3048d89 (diff)
downloadmailman-aed97fc00a894d1d1d1ebb9016c70d2024bddf9d.tar.gz
mailman-aed97fc00a894d1d1d1ebb9016c70d2024bddf9d.tar.zst
mailman-aed97fc00a894d1d1d1ebb9016c70d2024bddf9d.zip
main(): Once we know which mailing list we're talking about, set the
i18n language to its preferred language. This fixes the generated archives to the right language and also outputs the status messages in that language.
-rw-r--r--bin/arch1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/arch b/bin/arch
index 677d4fde2..be430f680 100644
--- a/bin/arch
+++ b/bin/arch
@@ -144,6 +144,7 @@ def main():
if mbox is None:
mbox = mlist.ArchiveFileName()
+ i18n.set_language(mlist.preferred_language)
# lay claim to the archive's lock file. this is so no other post can
# mess up the archive while we're glomming it. we pick a suitably
# long period of time for the lock lifetime, however we really don't