mozilla

Revision 125556 of Localization prerequisites

  • Revision slug: Localization_prerequisites
  • Revision title: Localization prerequisites
  • Revision id: 125556
  • Created:
  • Creator: Sipaq
  • Is current revision? No
  • Comment Fix MozillaBuild link; 13 words removed; page display name reset to default

Revision Content

To work on localization, you need a subset of the Mozilla Build Prerequisites. On Mac and Linux, you should be just fine, and on Windows, MozillaBuild should get you everything you need.

Tools

  • A recent POSIX Shell
  • Python 2.5 or newer.
  • Perl 5.6 or higher Older perl versions may work if you upgrade File::Spec to version 0.8
  • GNU make 3.79.1 or higher. Other varieties of "make" will not work.
  • autoconf-2.13 - Autoconf 2.5x will not work.
  • zip 2.3 (or higher)
  • Mercurial 1.2 or higher recommended. Needed for development of Firefox 3.5/SeaMonkey 2.0/Thunderbird 3.0 and later.
  • A text editor. You can try one of these:

To verify that they work, open a shell. Linux users should know, on the Mac, you find Terminal in Applications/Utilities. On Windows, MozillaBuild offers a start-l10n.bat in c:\mozilla-build. Let’s try our entry points:

$  hg --version
Mercurial Distributed SCM (version 1.3.1)

Copyright (C) 2005-2009 Matt Mackall <mpm@selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

Great, hg works.

$ make –version
GNU Make 3.81.90
…

make works, too. Don’t bother the version string here, as long as you’re 3.79.1 or better. Now continue the scheme for python and perl, and try zip -h, too.

{{ languages( { "fr": "fr/Pr\u00e9alables_\u00e0_la_localisation" } ) }}

Revision Source

<p>To work on localization, you need a subset of the Mozilla <a class="external" href="/En/Developer_Guide/Build_Instructions#Build_prerequisites" title="https://developer.mozilla.org/editor/fckeditor/core/editor/en/Build_Documentation#Build_prerequisites">Build Prerequisites</a>. On Mac and Linux, you should be just fine, and on Windows, <a href="/En/Developer_Guide/Build_Instructions/Windows_Prerequisites#MozillaBuild" title="En/Developer Guide/Build Instructions/Windows Prerequisites#MozillaBuild">MozillaBuild</a> should get you everything you need.</p>
<h3 id="Tools" name="Tools">Tools</h3>
<ul> <li>A recent POSIX Shell</li> <li><a class=" external" href="http://python.org/download/" title="http://python.org/download/">Python 2.5</a> or newer.</li> <li><a class="external" href="http://www.perl.com/pub/language/info/software.html">Perl</a> 5.6 or higher Older perl versions may work if you upgrade <a class="external" href="http://search.cpan.org/~kwilliams/File-Spec/">File::Spec</a> to version 0.8</li> <li><a class="external" href="http://www.gnu.org/software/make/">GNU make</a> 3.79.1 or higher. <em>Other varieties of "make" will not work.</em></li> <li><span style="text-decoration: underline;">autoconf-2.13</span> - Autoconf 2.5x will <strong>not</strong> work.</li> <li><a class="external" href="http://www.info-zip.org/">zip</a> 2.3 (or higher)</li> <li><a class="external" href="http://www.selenic.com/mercurial/wiki/">Mercurial</a> 1.2 or higher recommended. Needed for development of Firefox 3.5/SeaMonkey 2.0/Thunderbird 3.0 and later.</li> <li>A text editor. You can try one of these: <ul> <li><a class=" external" href="http://notepad-plus.sourceforge.net/uk/site.htm" rel="external nofollow" target="_blank" title="http://notepad-plus.sourceforge.net/uk/site.htm">Notepad++</a> or <a class=" external" href="http://www.flos-freeware.ch/notepad2.html" rel="external nofollow" target="_blank" title="http://www.flos-freeware.ch/notepad2.html">Notepad2</a> on Windows,</li> <li><a class=" external" href="http://en.wikipedia.org/wiki/Vim_%28text_editor%29" rel="external nofollow" target="_blank" title="http://en.wikipedia.org/wiki/Vim_(text_editor)">vim</a>, <a class=" external" href="http://projects.gnome.org/gedit/" rel="external nofollow" target="_blank" title="http://projects.gnome.org/gedit/">gedit</a> or <a class=" external" href="http://www.kate-editor.org/kate" rel="external nofollow" target="_blank" title="http://www.kate-editor.org/kate">Kate</a> on GNU/Linux,</li> <li><a class=" external" href="http://www.barebones.com/products/TextWrangler/" rel="external nofollow" target="_blank" title="http://www.barebones.com/products/TextWrangler/">TextWrangler</a> on Mac OS X.</li> </ul> </li>
</ul>
<p>To verify that they work, open a shell. Linux users should know, on the Mac, you find Terminal in Applications/Utilities. On Windows, MozillaBuild offers a <code>start-l10n.bat</code> in <code>c:\mozilla-build</code>. Let’s try our entry points:</p>
<pre class="eval">$  hg --version
Mercurial Distributed SCM (version 1.3.1)

Copyright (C) 2005-2009 Matt Mackall &lt;<a class=" link-mailto" href="mailto:mpm@selenic.com" rel="freelink">mpm@selenic.com</a>&gt; and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE</pre>
<p>Great, hg works.</p>
<pre class="eval">$ make –version
GNU Make 3.81.90
…
</pre>
<p><code>make</code> works, too. Don’t bother the version string here, as long as you’re 3.79.1 or better. Now continue the scheme for python and perl, and try zip -h, too.</p>
<p>{{ languages( { "fr": "fr/Pr\u00e9alables_\u00e0_la_localisation" } ) }}</p>
Revert to this revision