[Adium-devl] Compression.

Evan Schoenberg evan at adiumx.com
Mon Jan 29 13:04:23 UTC 2007


Le Jan 29, 2007 à 7:38 AM, Evan Schoenberg a écrit :

>
> The Localizable.strings files go from 188 KB to 32 KB, and there 22  
> of them, one per language.
>
> 50% of the text of a Localizable.strings file is comments; these  
> comments are nice to have in the English file so that a new  
> localizer can begin translation, but are totally unnecessary in all  
> the others.  I think I've seen a tool to remove these /* blah */  
> comments before, but I can't find it now.  Running such a tool  
> would be a good addition to our release Makefile.

Not quite as good as compression, but plutil -convert xml1  
Localizable.strings turns 188 KB into 80 KB. Surprisingly (to me)  
plutil -convert binary1 Localizable.strings does no better.

I've verified that the file still works as expected when in xml1  
format.  This makes sense since a .strings file is just an oddly  
formatted property-list file.

Would it be possible to run this conversion at make time on all  
strings files *except* the ones in English.lproj?

-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070129/a4e2ea3f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070129/a4e2ea3f/attachment.sig>


More information about the devel mailing list