From info at rolissma.com Thu Jun 12 09:16:34 2014 From: info at rolissma.com (info at rolissma.com) Date: Thu, 12 Jun 2014 10:16:34 +0300 Subject: [Mailman-i18n] howto correctly make rusification for ubuntu + mailman Message-ID: <539953D2.4080409@rolissma.com> Hi, all. I have install mailman 1:2.1.16-2 amd64 on ubuntu Linux mailhost 3.13.0-29-generic #53-Ubuntu system locale LANG=en_US.UTF-8 Mailman translation and templates for Russian come from box with koi8-r I converted all by iconv -f koi8-r -t utf8 and almost all work well. But 1. Even I set default language for list to Russian the main page shows in English ( http://mailhost.bizparties.com.ua/cgi-bin/mailman/listinfo ) How to show it by default in other lang ( Ru or Ukraine, for example) ? 2. If I try to see archive - it show wrong chars (try to show in koi8-r) How to fix it? Thanks advance for any help Vasil Ukraine From mark at msapiro.net Fri Jun 13 19:19:01 2014 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 13 Jun 2014 10:19:01 -0700 Subject: [Mailman-i18n] howto correctly make rusification for ubuntu + mailman In-Reply-To: <539953D2.4080409@rolissma.com> References: <539953D2.4080409@rolissma.com> Message-ID: <539B3285.7080600@msapiro.net> On 06/12/2014 12:16 AM, info at rolissma.com wrote: > > I converted all by iconv -f koi8-r -t utf8 and almost all work well. > > But > 1. > Even I set default language for list to Russian the main page shows in > English > ( http://mailhost.bizparties.com.ua/cgi-bin/mailman/listinfo ) > How to show it by default in other lang ( Ru or Ukraine, for example) ? You need in mm_cfg.py DEFAULT_SERVER_LANGUAGE = 'ru' > 2. > If I try to see archive - it show wrong chars (try to show in koi8-r) You also need in mm_cfg.py add_language('ru', 'Russian', 'utf-8', 'ltr') This should work for newly archived messages, but the fix asn entire archive you need to rebuild it with Mailman's 'bin/arch --wipe'. See 'bin/arch --help' for more information. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan