Firefox:1.5 Localization: Difference between revisions

m
m (add link to l10n homepage)
 
(10 intermediate revisions by 8 users not shown)
Line 15: Line 15:
If you're starting from scratch, these are the CVS directories you need to  
If you're starting from scratch, these are the CVS directories you need to  
download and translate:
download and translate:
<pre class="code">mozilla/browser/locales/en-US/
<pre>mozilla/browser/locales/en-US/
mozilla/dom/locales/en-US/
mozilla/dom/locales/en-US/
mozilla/extensions/reporter/locales/en-US/
mozilla/netwerk/locales/en-US/
mozilla/netwerk/locales/en-US/
mozilla/other-licenses/branding/firefox/locales/en-US  
mozilla/other-licenses/branding/firefox/locales/en-US  
mozilla/security/manager/locales/en-US/
mozilla/security/manager/locales/en-US/
mozilla/toolkit/locales/en-US/</pre>
mozilla/toolkit/locales/en-US/</pre>
The localized files end up in the following directories, corresponding to the paths above (replace ab-CD with your locale code, possibly only two letters):
<pre>l10n/ab-CD/browser/
l10n/ab-CD/dom/
l10n/ab-CD/netwerk/
l10n/ab-CD/other-licenses/branding/firefox/
l10n/ab-CD/security/manager/
l10n/ab-CD/toolkit/</pre>
For anonymous checkout of the <code>mozilla</code> repository, use <code>:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot</code>, for anonymous checkout of the <code>l10n</code> repository use <code>:pserver:anonymous@cvs-mirror.mozilla.org:/l10n</code> as CVSROOT.


=Posted to n.p.m.l10n, 2005-04-20 01:33 UTC=
=Posted to n.p.m.l10n, 2005-04-20 01:33 UTC=
Line 39: Line 48:
[http://bonsai.mozilla.org bonsai tool].
[http://bonsai.mozilla.org bonsai tool].
Just put this
Just put this
<pre class="code">mozilla/browser/locales/en-US/,mozilla/dom/locales/en-US/,mozilla/extensions/reporter/locales/en-US/,mozilla/netwerk/locales/en-US/,mozilla/security/manager/locales/en-US/,mozilla/toolkit/locales/en-US/</pre>
<pre>mozilla/browser/locales/en-US/,mozilla/dom/locales/en-US/,mozilla/extensions/reporter/locales/en-US/,mozilla/netwerk/locales/en-US/,mozilla/security/manager/locales/en-US/,mozilla/toolkit/locales/en-US/</pre>
(probably will break) in Directory input, and type the timeframe to
(probably will break) in Directory input, and type the timeframe to
check what changed in that timeframe.
check what changed in that timeframe.
Line 60: Line 69:
If you don’t have it already, checking out the l10n folder is done with:
If you don’t have it already, checking out the l10n folder is done with:


<pre class="code">cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/l10n co l10n/nl</pre>
<pre>cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/l10n co l10n/nl</pre>


Where you should substitute ‘nl’ with the language code which you want to work on.
Where you should substitute ‘nl’ with the language code which you want to work on.
Line 66: Line 75:
Then, you should add the following line to your mozconfig file.
Then, you should add the following line to your mozconfig file.


<pre class="code">ac_add_options --enable-ui-locale=nl</pre>
<pre>ac_add_options --enable-ui-locale=nl</pre>


Again, substitute ‘nl’ for the language you want to build. Now if you build Firefox, it will automatically have the ‘nl’ locale.
Again, substitute ‘nl’ for the language you want to build. Now if you build Firefox, it will automatically have the ‘nl’ locale.
[[category:L10n]]
224

edits