[PATCH] Use a slightly different method to get supported languages (#858801, tagoh).

Chris Lumens clumens at redhat.com
Thu Oct 25 14:16:50 UTC 2012


> NACK.
> 
> In [13]: len(babel.Locale('en', 'US').languages.keys())
> Out[13]: 506
> 
> In [14]: len(babel.localedata.list())
> Out[14]: 451

I don't think it's the number of results that matters so much as the
quality of the results.  Which is providing us with the results we care
about?  The first way's definitely not including a supported
translation.

> I'm not sure we want something like that. Also langdict is not a good
> name for a variable containing a list.

I can certainly rename it.

- Chris


More information about the anaconda-patches mailing list