[Fwd: [PATCH] Add in a locale mapping to avoid incorrect system settings (#858591).]

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

 



-------- Forwarded Message --------
> From: Chris Lumens <clumens@xxxxxxxxxx>
> Reply-to: anaconda patch review
> <anaconda-patches@xxxxxxxxxxxxxxxxxxxxxx>
> To: anaconda-patches@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [PATCH] Add in a locale mapping to avoid incorrect system
> settings (#858591).
> Date: Wed, 3 Oct 2012 14:29:15 -0400
> 
> 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.
When I was thinking about this problem an obvious question emerged --
Why do we not ask user to tell us his/her location? We could simply add
one more TreeView containing localized names of territories (babel
provides this localizations [1]) matching the language below the
language selection TreeView. And in future use GeoIP to preset the right
location based on the GeoIP data.

Any ideas?

Posting to anaconda-devel as this should be a discussion thread.

[1] http://packages.python.org/Babel/api/babel.core.Locale-class.html
    (search for 'territories')

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux