[oe] [RFC] locales

Sergey Lapin slapinid at gmail.com
Wed Jun 20 10:14:41 UTC 2007

Hi, all!

Note: I could be fundamentally wrong here, so, please feel free to
point me to right direction in this case.

As it was discussed on #oe, locale infrastructure lacks implementation
on oe.dev, and, in particular, in Angstrom.

With a bit of research I done on this subject made me to come up with
a few ideas, which I'd like to know your opinion about.

Present status:
*-locale* packages are generated, but not put on image. These packages
contain message translations.
* Only glibc locale which is put on image (if any) is en_GB.

Infrastructure problem:
* We need a way to set up automatic locale package installation during
image build
according to some subset of languages/locales.
* We need a way to install "language" in simple user-friendly way. I
mean here not only locale packages, but also various
language-dependent files (docs, keymap settings, various configuration
files, etc.).

Various random problems encountered:
* GPE locale.alias for gpe-dm needs cleanup (get rid of non-UTF8 locales?)
* libx11 locale.alias needs cleanup (setup for UTF8-only system).

So, if we go utf8-only, we need to do a great cleanup/testing job here
to settle things up.

As for infrastructure, I see several questionable methods of solving this:

1. each package RRECOMMENDS its locale packages for locales mentioned
in local.conf variable, and additional ones, which are related.

2. image RRECOMMENDS locale packages blindly for all normal packages
for languages which are in a var mentioned in 1.

3. all -locale packages generated during builds are written to some
special lists, for each language. Then meta-packages are generated
from these lists.


So, any ideas?

More information about the Openembedded-devel mailing list