Changes

Jump to: navigation, search

L10n:Localizing Overview

29 bytes added, 21:21, 5 April 2005
m
Localize the files
=Localize the files=
To do this, you can use all-in-one tools, such as [[L10n:MozillaTranslator|MozillaTranslator]], or your favourite UTF-8–aware text-editor.
Ensure you translate the directory structure (from <tt>../en-US/..</tt> to <tt>../ab-CD/..</tt>) as well.
<p class="note"> when testing a 7z-based installer, use a faster compression ratio rather than one geared for smaller installer files. Only when you have checked that the installer works correctly should you recompress for minimum size.</p>
For the smallest possible installer, ensure that none of the archive files within the installer (eg XPI files) are compressed and ; then use the following command:
<pre class="code">7z a -t7z stage\app.7z *.* -mx -m0=BCJ2 -m1=LZMA:d24 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3</pre>
This assumes that you are in the directory with all the necessary files, and the archive will be put in a sub-directory called <tt>stage/</tt>.
90
edits

Navigation menu