On 8/19/10, Florian CROUZAT <firstname.lastname@example.org> wrote:
> On 19 août 2010, at 14:27, Graham Murray wrote:
>> Several packages, not just OpenOffice, can include/support different
>> languages. Portage uses the value of LINGUAS to tell these packages
>> which languages to include/support.
> I have access to this box where linguas=fr is set.
> Check this output:
> $ type -a [
> [ est une primitive du shell
> [ est /usr/bin/[
> [ is a shell built-in becomes "est une primitive du shell"
> I can't see any use flags in coreutils/bash that informs me it will be
> emerged with the linguas support.
> How do I know which package will be localized then ? Just curious, I don't
> tweak my linguas.
Check for the tell-tale USE="nls" flag in the ebuilds.
Not all ebuild's bother listing explicitly out all of the LINGUAS
their sources actually support. coreutils is one of the lazy ones.
Just look at its sources: 39 different .po files, that's 39
localizations available. No point printing out such monstrous long
lists -- your localization is in there, period!
But coreutils does
obey LINGUAS anyway. It only installs what you have in your LINGUAS
(check, e.g., with equery files coreutils).
Openoffice is a special case (surprise!). Its ebuild depends
dynamically on spell-check packages depending on the value of LINGUAS
-- so the poor Gentoo OOo maintainers must list out every supported
lingua in the ebuild.
Arttu V. -- Running Gentoo is like running with scissors