This is an old revision of the document!
Table of Contents
Locales in Debian-based dCore
Debian repositories contain the package locales-all that provides all locale files. As the package is all inclusive but large, a trimmed mylocale extension can be created.
That all-round carefree package should make up for any localisation requirements. As a down-side there its size of approximately 25 MB to it. That gives reason to cut it down to a mylocale-extensions.
Installation
The following approach has not been thoroughly tested but should work in principle. The technical steps are explained in more detail in the outline about locales in ub-Dcore.
- Comment out the line in '~/.profile' that hard-codes the LANG to “en_US.UTF-8” and have it set through the boot-code
lang
(cf. below for the locale-codes). - Import and load the locales-all package. All imported locales are available under '/usr/lib/locale/'; its listing provides the locale-codes.
Mylocale
One may stick with the locale extension or – optionally – continue to put the selected locales into an extension.
- Copy the desired locales aside and remove the locales-all extension.
- Create an extension for the selected locales.