FREEZE Break request (was Re: Mailman listinfo)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 28 Oct 2011 14:49:29 -0600
Kevin Fenzi <kevin@xxxxxxxxx> wrote:

> On Fri, 28 Oct 2011 15:28:53 +0900
> Misha Shnurapet <shnurapet@xxxxxxxxxxxxxxxxx> wrote:
> 
> > Hello.
> > 
> > I am trying to enter a description for the trans-ru mailing list
> > [1]. Apparently, the system doesn't support a number of alphabets,
> > such as Russian, Tamil, Persian. Also Japanese, I assume.
> > Descriptions in languages are displayed incorrectly.
> > 
> > Is there a way to fix it?
> 
> Good question. 
> 
> It looks like they appear correctly on their info pages, it's just the
> higher level listinfo page that doesn't work?
> 
> I think if we can set DEFAULT_SERVER_LANGUAGE to utf8 from en it might
> work, but it seems there's not any utf8 option available for it. ;( 
> 
> Will look around some more. 

Looks like the following change to mm_cfg.py should fix this issue. 
It might also fix:
https://fedorahosted.org/rel-eng/ticket/3930

basically the mailman default is 'en' with encoding 'us-ascii'. Which
of course doesn't lead to displaying non ascii languages nicely.
Switching this to utf-8 allows them to display nicely as well as
keeping the en looking fine. 

I'm happy to wait until monday for this change, or just do it now (I
should be around all weekend in case something shows up). It should be
easy to revert. 

Thoughts?

kevin
--
diff --git a/modules/mailman/templates/mailman_config.erb
b/modules/mailman/templates/mailman_config index e65f949..a3940ee 100644
--- a/modules/mailman/templates/mailman_config.erb
+++ b/modules/mailman/templates/mailman_config.erb
@@ -13,3 +13,4 @@ PUBLIC_ARCHIVE_URL = '<%= mailman_archive_proto
%>://<%= mailman_archive_host %> VIRTUAL_HOST_OVERVIEW = False
 MTA = 'Postfix'
 POSTFIX_STYLE_VIRTUAL_DOMAINS = [ '<%= mailman_default_email_host %>' ]
+add_language('en',    'English',       'utf-8')

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux