[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Locales in init scripts (about gdm bug #147091)



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 
-

Attachment: pgp_XTd7_lDtZ.pgp
Description: PGP signature


Reply to: