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

Re: [PATCH,RFC] Fetch c-s translations from xkeyboard-config.



On Tue, May 12, 2009 at 08:45:21PM +0200, Samuel Thibault wrote:
> Anton Zinoviev, le Tue 12 May 2009 20:11:36 +0300, a écrit :
> > On Fri, May 08, 2009 at 09:30:47PM +0200, Samuel Thibault wrote:
> > > 
> > > +    $ENV{'LANGUAGE'} = $lang;
> > > +    setlocale(LC_ALL,"");
> > 
> > Unfortunately this combination is working only if in the system there is 
> > a generated locale for $lang.
> 
> Whch is the case since I've added the locales-all build-dep.

Great! I didn't know such package exists and compiled console-setup with 
unsatisfied dependencies.

> > Another problem that is no immediate is the big size of 
> > console-setup.config - it certainly can not fit in boot floppies.
> 
> If we want the translations we have to ship them anyway.
> 
> > the strings need to go outside the script in a compressed 
> > file that is optional.
> 
> Aren't initrds compressed already?
> 
> > I this way the strings can go to an udeb that won't be extracted in
> > systems with low memory.
> 
> That, however, is a problem indeed.
> 
> The problem is that the config script is called before anything is
> unpacked...

For now d-i doesn't use the udebs of console-setup and I think we will 
have time to find the right solution.

Anton Zinoviev


Reply to: