Ok, but /etc/default/language is not created by the locales package
which does currently asks the system's default language, but saves it in
/etc/environment instead.

The question is:
Is it ok to a display manager source /etc/environment (at least until
another definition is made) into the init script?

Because that's the only way (except if init itself set the LANG
variable, or the locales package generate /etc/default/language) to get
the x login prompt using the system's default locale?

P.S.: This is an annoying bug that can be closed with a 1-line patch,
but it isn't because of this indefinition (See maintainer comments into
the bug history).

--daniel

Em Qua, 2003-08-20 às 07:53, Javier Fernández-Sanguino Peña escreveu:
> On Mon, Aug 18, 2003 at 12:19:03PM -0300, Daniel Ruoso wrote:
> > Hi.
> (...)
> > 
> > So, how to make the init scripts localized?
> > 
> > What do you think?
> > 
> 
> /etc/default/language? I believe this has been discussed previously, see 
> for example [1] and debian-boot [2]. 
> 
> From briefly looking at redhat's redhat-config-language program (a GUI to
> setup precisely this) it seem they use /etc/sysconfig/i18n for this (is
> there also an /etc/sysconfig/language?) which gets sourced from scripts
> (lang.sh, lang.csh) in /etc/profile.d to setup the user's environment and
> by /etc/rc.d/init.d/functions which is incorporated by init.d programs.
> 
> IMHO to get init scripts localized a similar (and policy mandated) set 
> of functions (including i18n/l10n) should be implemented. Locale 
> configuration (or boot-floopies/d-i for that matter) should then modify 
> those on admin's request.
> 
> Regards
> 
> Javi
> 
> [1] www.debian.org/News/weekly/1999/27/mail
> [2] lists.debian.org/debian-boot/2001/debian-boot-200105/msg00667.html 
> -


Reply via email to