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

Re: [potato] last not i18ned part in bf and more



On Tue, Jul 25, 2000 at 03:04:00PM +0200, Marcin Owsiany wrote:
> Hello again!
> 
> 1). First, the base-config thing:
> 
> I tried to find a way to make base-config use Polish, so during one
> installation I booted linux in single user mode to edit /etc/inittab before
> it started debconf
> 
> Here are the results:
> 
> First of all unfortunately this:
> 
> > Hmm... this is probably run by a shell, so, as a hack, couldn't we do
> > 
> >  1:2345:respawn:LANG=whatever LC_*=whatever /usr/sbin/dpkg-reconfigure
> > base-config ...
> 
> won't work ('sh: exec: LANG not found', or 'export : not found', both
> resulting in a 'respawning too fast')
> 
> It seems the only way to go is make a wrapper script. I tested that, and
> debconf works OK (i.e. the templates show in Polish, and the only
> untranslated things are yes/no buttons and two messages (in the background
> and at the top of the box), which are not important).
> 
> So what's the decision? Is the script going to be added to base-files?

I make a german debian cd-set for linuxland. 

I patch rootdisk.sh with:

if [ "$language" = "de" ]; then
    info "modifying initial inittab to run base-config in language $language"
    sed "s,/usr/sbin/dpkg-reconfigure base-config,sh -c 'export LANG=de_DE ; exec /usr/sbin/dpkg-reconfigure base-config'," \
        < $scripts/prototype/etc/inittab.install  > $T/etc/inittab.install
fi

This work.

Gruss
Grisu
-- 
Michael Bramer  -  a Debian Linux Developer http://www.debian.org
PGP: finger grisu@db.debian.org  -- Linux Sysadmin   -- Use Debian Linux
"I knew I was the best programmer in the world. Every 21-year-old programmer 
 knows that."        -- Linus Torvalds



Reply to: