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

Re: desktop and/or menu files localization (was: Re: adding desktop files to misc packages)



Neil Williams wrote:
> I'd agree that BOTH of these should be able to read the .mo just like
> the application itself.

.mo files do not exist when debconf preconfigures packages. Unless you
want to stick them in control.tar.gz and deal with them in
/var/lib/dpkg/info/. When debconf l10n was being developed, this was
thought to be a bad idea.

A better way to save space would be to remove debconf's templates
database, and have it use the .templates files directly as its database.
This would save in the neighborhood of 8-10 mb, or more generally,
2x the total size of all the .templates files. 

(To save just 1x, you can just turn off retention of the backup copy of
the database, This needs no code changes at all, just set Backup: false
in debconf.conf.)

Compressing the templates files would also save several mb,
more space than would be saved converting them to .mo files.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: