reopen 354742
severity 354742 minor
forwarded 354742 http://bugzilla.gnome.org/show_bug.cgi?id=426925
stop

        Hi,

 This is a followup for Debian bug <http://bugs.debian.org/354742>.

On Thu, Mar 30, 2006, Holger Duerer wrote:
> I don't agree that the data file has to be so large.  Just removing
> the needles whitespace (empty lines, leading space used for
> indentation) remove a substantial amount of cruft.
> 
> Not including "translations" that are the same as the original name
> itself, makes a dramatic reduction (down to about 6.4MB).

 Thanks for your interesting comment!

 I've opened an upstream bug against intltool-merge which is used to
 generate Locations.xml from po-locations/*.po.  I tried stripping
 spaces as you suggested, but this only saved some 16% at the expense of
 making the file unreadable in my text editor. :-)

 gzipping the file made for a 86% compression, which is way more
 interesting.  (Removing blanks before gzipping only made a 0.7%
 compression difference).

 If you have some XSL powers and removing translated strings identical
 to the untranslated template truly compresses the file, I'm interested
 in hooking this in the build process.  I expect gzipping will still
 give better results, so I would take a patch to implement gzipping as
 well. :)

   Bye,
-- 
Loïc Minier

Reply via email to