On Wed, 2012-10-03 at 14:29 -0400, Chris Lumens wrote:
This is pretty terrible, sorry.
Basically the problem is that we need to write out full locale settings to
/etc/sysconfig/i18n or lots and lots of things on the system are broken.
For instance, "de_DE.UTF-8" is good but "de.UTF-8" is not.
Unfortunately I can find no suitable way to extract this information via
python-babel. I think our intention is that using geoip will get us the
full locale, but there's no time to do that now. lang-table used to contain
this mapping for us, but I really don't want to add that file back. This
fix should be considered temporary.
Yeah, ack for now as I was going to do that
myself, because there really
seems to be no better way to get the mapping. However, this should (and
let's hope it will) be handled by a separate package/module maintained
by the i18n team. Martin Sivak has started some discussions about that.
GeoIP will be helpful here, but only in some cases.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic