Kaixo!
On Tue, Feb 01, 2000 at 09:27:31PM +0100, Kai Nielsen wrote:
> I just noticed (and it took a little time to figure this out) that
> the /etc/sysconfig/i18n may be problematic.
>
> I did just a complete recompile of all GNOME libs and apps (the "normal"
> distribution tarballs, not the mdk SRPMS) and didn't have any locales
> installed afterwards.
>
> After examining the ./configure scripts I became aware that it must
> be the fault of the LINGUAS variable.
Yes;
> But even "export LINGUAS="
> before configuring did not help.
No; that defines LINGUAS to null; that is *not* the same as undefining it.
To undefine it do 'unset LINGUAS'. (or remove it from the i18n file)
The reason for that is that rpm previously only installed the language files
for the locale of the person launching the rpm tool; which in some cases
would be wrong. The rpm tool has been patched to accept a different
variable; but sadly it has been the LINGUAS variable that is also used
for other purposes. When we realized that we changed DrakX and patched rpm
to use a variable of its own (RPM_INSTALL_LANG) instead.
But the final 7.0 CD images were already out.
> When I changed "LINGUAS=de_DE:de" to "LINGUAS=" in /etc/sysconfig/i18n
> and logged in again, it was fine afterwards.
That is because the script reading the i18n file does an "unset VARIABLE"
when the VARIABLE is set to null. But what you want to do is in fact remove
the line.
> Now all the locales
> got installed when trying again.
If you want all the locales being installed when you install an rpm package;
you cna put RPM_INSTALL_LANG=all (or =de if you want only german, or =de:fr
if you wnat German and French, etc).
That doesn't work with the current rpm you have; but will with the next one;
and once that will correctly work with rpm tool we will begin to massively
use that possibility on the produced rpm files.
> This was not working with LINGUAS set in i18n. Just to tell you...
Yes, in fact would have thought that LINGUAS would accept several locales,
but it doesn't seem to (or it uses a different syntax).
The problem is known and a correct solution has finally been found; it will
be used by default on future versions.
Sorry for the inconvenience.
> Kai.
--
Ki �a vos v�ye b�n,
Pablo Saratxaga
http://www.ping.be/~pin19314/ PGP Key available, key ID: 0x8F0E4975