Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657566 - sys-libs/glibc: generate list of supported locales
Summary: sys-libs/glibc: generate list of supported locales
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-07 23:15 UTC by hanetzer
Modified: 2020-01-06 12:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hanetzer 2018-06-07 23:15:35 UTC
As it currently stands, the locale.gen installed by sys-libs/glibc
is very skeletal and does not list all locales which can be enabled
for a given glibc version.

Generate a list of locales which the glibc version supports in that
file in order to ease non-en,ja,de,es,fa,fr,it users by showing what
is available right in locale.gen.

Uncomment/enable en_US.UTF-8 by default in order to prevent building
all supported locales, as it can take a fair amount of time on weaker
machines if the user does not edit it before doing the initial @world
update.
Comment 1 SpanKY gentoo-dev 2018-06-08 14:05:58 UTC
the header of the file explicitly documents how to generate a locale and then says to check out /usr/share/i18n/SUPPORTED for the default set which should answer the vast majority of users' needs.

generating the "full set" is unreasonable as you're talking about the combinatorial explosion of all the locales in /usr/share/i18n/locales/ (300+) and all the character maps in /usr/share/i18n/charmaps/ (200+).  which is is 60k+ entries.

as for only enabling en_US.UTF-8 by default, no.  that is hostile to the majority of the world who do not follow US cultural norms and do not speak English.