<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mozilla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Saforrest</id>
	<title>MozillaWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mozilla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Saforrest"/>
	<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/Special:Contributions/Saforrest"/>
	<updated>2026-11-30T06:17:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://wiki.mozilla.org/index.php?title=User:Saforrest&amp;diff=21457</id>
		<title>User:Saforrest</title>
		<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=User:Saforrest&amp;diff=21457"/>
		<updated>2005-09-23T21:05:06Z</updated>

		<summary type="html">&lt;p&gt;Saforrest: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi, I&#039;m Saforrest.  Glad to see you guys have a wiki now.&lt;br /&gt;
&lt;br /&gt;
I&#039;m interested in localization-related stuff.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*[[L10n:Home Page]]&lt;br /&gt;
*[[L10n:Localization Teams]]&lt;br /&gt;
*[[L10n:Firefox 1.5 Status]]&lt;br /&gt;
&lt;br /&gt;
*[http://www.mozilla.org/projects/l10n/mlp_otherproj.html#firefox] - why was this so hard to find?&lt;br /&gt;
*[http://www.mozilla.org/products/firefox/all.html] - even harder!&lt;/div&gt;</summary>
		<author><name>Saforrest</name></author>
	</entry>
	<entry>
		<id>https://wiki.mozilla.org/index.php?title=User:Saforrest&amp;diff=12155</id>
		<title>User:Saforrest</title>
		<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=User:Saforrest&amp;diff=12155"/>
		<updated>2005-09-23T21:04:57Z</updated>

		<summary type="html">&lt;p&gt;Saforrest: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi, I&#039;m Saforrest.  Glad to see you guys have a wiki now.&lt;br /&gt;
&lt;br /&gt;
I&#039;m interested in localization-related stuff.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*[[L10n:Home Page]]&lt;br /&gt;
*[[L10n:Localization Teams]]&lt;br /&gt;
*[[L10n:Firefox 1.5 Status]]&lt;br /&gt;
&lt;br /&gt;
*[http://www.mozilla.org/projects/l10n/mlp_otherproj.html#firefox] - why was this so hard to find?&lt;br /&gt;
[http://www.mozilla.org/products/firefox/all.html] - even harder!&lt;/div&gt;</summary>
		<author><name>Saforrest</name></author>
	</entry>
	<entry>
		<id>https://wiki.mozilla.org/index.php?title=User:Saforrest&amp;diff=12154</id>
		<title>User:Saforrest</title>
		<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=User:Saforrest&amp;diff=12154"/>
		<updated>2005-09-23T20:57:06Z</updated>

		<summary type="html">&lt;p&gt;Saforrest: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi, I&#039;m Saforrest.  Glad to see you guys have a wiki now.&lt;br /&gt;
&lt;br /&gt;
I&#039;m interested in localization-related stuff.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*[[L10n:Home Page]]&lt;br /&gt;
*[[L10n:Localization Teams]]&lt;br /&gt;
*[[L10n:Firefox 1.5 Status]]&lt;br /&gt;
&lt;br /&gt;
*[http://www.mozilla.org/projects/l10n/mlp_otherproj.html#firefox] - why was this so hard to find?&lt;/div&gt;</summary>
		<author><name>Saforrest</name></author>
	</entry>
	<entry>
		<id>https://wiki.mozilla.org/index.php?title=L10n:Localizing_Overview&amp;diff=17411</id>
		<title>L10n:Localizing Overview</title>
		<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=L10n:Localizing_Overview&amp;diff=17411"/>
		<updated>2005-09-23T20:49:55Z</updated>

		<summary type="html">&lt;p&gt;Saforrest: add qualifier&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Breadcrumb: [[Main Page]] :: [[L10n:Home Page]] :: L10n:Localizing Overview&lt;br /&gt;
__TOC__&lt;br /&gt;
= Overview =&lt;br /&gt;
&lt;br /&gt;
The object of localization is to translate an application&#039;s menus, dialogue boxes, labels and other settings (font, character encodings, dictionaries, default search engine etc) for a particular locale.&lt;br /&gt;
&lt;br /&gt;
= The Basics of Localization =&lt;br /&gt;
The user interfaces (UIs) of Firefox, Thunderbird, the Mozilla Application Suite and Sunbird/Calendar are constructed using XML User Interface Language (XUL).&lt;br /&gt;
This is an eXtensible Markup Language (XML) dialect and it allows the form (layout), function, content (language) and appearance (theme) of the UI to be described in separate files.&lt;br /&gt;
&lt;br /&gt;
Such separation allows applications built with XUL to be localized relatively easily.&lt;br /&gt;
All the text of the UI is held in DTD and Java-style &amp;lt;code&amp;gt;.properties&amp;lt;/code&amp;gt;  files. These text files link a token used in a XUL file to the actual string to be displayed. So, for example, the following XUL fragment is from &amp;lt;var&amp;gt;am-main.xul&amp;lt;/var&amp;gt;:&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code&amp;quot;&amp;gt;&amp;amp;lt;caption label=&amp;quot;&amp;amp;amp;&amp;lt;b class=&amp;quot;token&amp;quot;&amp;gt;identityTitle.label&amp;lt;/b&amp;gt;;&amp;quot;/&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;description&amp;amp;gt;&amp;amp;amp;&amp;lt;b class=&amp;quot;token&amp;quot;&amp;gt;identityDesc.label&amp;lt;/b&amp;gt;;&amp;amp;lt;/description&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and corresponds to the following fragment from &amp;lt;var&amp;gt;am-main.dtd&amp;lt;/var&amp;gt;:&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code&amp;quot;&amp;gt;&amp;amp;lt;!ENTITY &amp;lt;b class=&amp;quot;token&amp;quot;&amp;gt;identityTitle.label&amp;lt;/b&amp;gt; &amp;quot;Identity&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;!ENTITY &amp;lt;b class=&amp;quot;token&amp;quot;&amp;gt;identityDesc.label&amp;lt;/b&amp;gt; &amp;quot;Each account has an identity, which is the &amp;amp;#8629;&lt;br /&gt;
&amp;amp;#8627; information that other people see when they read your messages.&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where the &amp;quot;&amp;lt;code&amp;gt;&amp;amp;#8629; &amp;amp;#8627;&amp;lt;/code&amp;gt;&amp;quot; indicates a single line, broken here for readability.&lt;br /&gt;
&lt;br /&gt;
By altering the DTD file, you change the text displayed within the application.&lt;br /&gt;
&lt;br /&gt;
= How to begin a localization =&lt;br /&gt;
The following steps should give you an idea of how to localize Firefox, Thunderbird etc.&lt;br /&gt;
&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;if you want to contribute your localizations back to the MLP, head over to the [http://www.mozilla.org/projects/l10n/registration.html registration page].  From there, you can check whether anyone is already producing localizations for your intended language, and either join them or register yourself for one of the projects.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Download a release of the product you want to localize.&lt;br /&gt;
**[http://www.mozilla.org/releases/ Application Suite]&lt;br /&gt;
**[http://www.mozilla.org/projects/firefox/ Firefox browser]&lt;br /&gt;
**[http://www.mozilla.org/projects/camino/ Camino Mac browser]&lt;br /&gt;
**[http://www.mozilla.org/projects/thunderbird/ Thunderbird mail client]&lt;br /&gt;
**[http://www.mozilla.org/projects/calendar/| Sunbird &amp;amp;amp; Calendar]&lt;br /&gt;
*Extract the files, using the appropriate extraction tool:&lt;br /&gt;
**&amp;lt;tt&amp;gt;tar -xzvf&amp;lt;/tt&amp;gt; for Linux packages&lt;br /&gt;
**[http://moztw.org/tools/ mozip] for the Application Suite and Sunbird&lt;br /&gt;
**[http://www.7-zip.org/ 7z] for Firefox and Thunderbird&lt;br /&gt;
**??? for Camino&lt;br /&gt;
**any ZIP archiver for Calendar&lt;br /&gt;
*Alternatively (for Firefox, and soon, Thunderbird) you can [[L10n:Localizing_Using_CVS|use CVS to download the localizable parts]], for either a branch or the current trunk.&lt;br /&gt;
&lt;br /&gt;
=Localize the files=&lt;br /&gt;
To do this, you can use all-in-one tools or your favourite UTF-8&amp;amp;#8211;aware text-editor. See [[L10n:Tools|Tools]] for more information.&lt;br /&gt;
&lt;br /&gt;
Ensure you translate the directory structure (from &amp;lt;tt&amp;gt;../en-US/..&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;../ab-CD/..&amp;lt;/tt&amp;gt;) as well.&lt;br /&gt;
==Package your localization==&lt;br /&gt;
This step applies to all localisations that aren&#039;t held in CVS.&lt;br /&gt;
&lt;br /&gt;
See [http://www.mozilla.org/projects/l10n/mlp_packaging.html Packaging your Work] &amp;amp;#8211; however, note that when ZIPping your files, you should use &#039;&#039;&#039;no compression at all&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code&amp;quot;&amp;gt;zip -r0 &#039;&#039;&amp;amp;lt;file.jar&amp;amp;gt; &amp;amp;lt;dir&amp;amp;gt;&#039;&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Note, however, the directory structure used as an example in this document is obsolete.)&lt;br /&gt;
&lt;br /&gt;
==Re-package the new installer==&lt;br /&gt;
This step applies to all localisations that aren&#039;t held in CVS.&lt;br /&gt;
&lt;br /&gt;
The basic plan of action is to take the original (en-US) installer and replace its en-US parts with your newly-localised ab-CD parts.  However, you must &#039;&#039;&#039;also&#039;&#039;&#039; tell the installer to use these ab-CD parts, not the en-US ones.  Additionally, you should localise the installer itself.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;All the installers use &amp;lt;tt&amp;gt;config.ini&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;install.ini&amp;lt;/tt&amp;gt;. [http://www.tyndall.org.uk/create-installer.html Building a Mozilla Suite Localised Installer] gives an account of the process involved in updating these two files when creating a new installer.  It is based on using &amp;lt;tt&amp;gt;mozip&amp;lt;/tt&amp;gt;, but is applicable to all installers that use &amp;lt;tt&amp;gt;config.ini/install.ini&amp;lt;/tt&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt; 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.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the smallest possible installer, ensure that none of the archive files within the installer (eg XPI files) are compressed; then use the following command:&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code&amp;quot;&amp;gt;7z a -t7z stage\app.7z *.* -mx -m0=BCJ2 -m1=LZMA:d24 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3&amp;lt;/pre&amp;gt;&lt;br /&gt;
This assumes that you are in the directory with all the necessary files, and the archive will be put in a sub-directory called &amp;lt;tt&amp;gt;stage/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
...(tbc)&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [http://www.mozilla.org/projects/l10n/ Localization Project home]&lt;br /&gt;
* [http://www.mozilla.org/projects/l10n/mlp_docs.html Localization docs]&lt;br /&gt;
* [http://www.mozilla.org/projects/l10n/mlp_packaging.html Packaging your Work]&lt;br /&gt;
* [http://www.tyndall.org.uk/create-installer.html Building a Mozilla Suite Localised Installer]&lt;br /&gt;
* [[L10n:Home_Page|Wiki Localization Home Page]]&lt;br /&gt;
* [[L10n:Localizing_Using_CVS|Using CVS to download the localizable parts]]&lt;br /&gt;
&lt;br /&gt;
* [news://news.mozilla.org/netscape.public.mozilla.l10n Newsgroup discussion]&lt;br /&gt;
* [mailto:mozilla-l10n-request@mozilla.org?subject=subscribe Mailing list]&lt;br /&gt;
* [mailto:mlp-staff@mozilla.org Mozilla Localization Project Staff]&lt;/div&gt;</summary>
		<author><name>Saforrest</name></author>
	</entry>
	<entry>
		<id>https://wiki.mozilla.org/index.php?title=User:Saforrest&amp;diff=12153</id>
		<title>User:Saforrest</title>
		<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=User:Saforrest&amp;diff=12153"/>
		<updated>2005-09-23T14:01:13Z</updated>

		<summary type="html">&lt;p&gt;Saforrest: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi, I&#039;m Saforrest.  Glad to see you guys have a wiki now.&lt;br /&gt;
&lt;br /&gt;
I&#039;m interested in localization-related stuff.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*[[L10n:Home Page]]&lt;br /&gt;
*[[L10n:Localization Teams]]&lt;br /&gt;
*[[L10n:Firefox 1.5 Status]]&lt;/div&gt;</summary>
		<author><name>Saforrest</name></author>
	</entry>
	<entry>
		<id>https://wiki.mozilla.org/index.php?title=User:Saforrest&amp;diff=12143</id>
		<title>User:Saforrest</title>
		<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=User:Saforrest&amp;diff=12143"/>
		<updated>2005-09-23T14:00:43Z</updated>

		<summary type="html">&lt;p&gt;Saforrest: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi, I&#039;m Saforrest.  Glad to see you guys have a wiki now.&lt;br /&gt;
&lt;br /&gt;
I&#039;m interested in localization-related stuff.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*[[L10n:Localization Teams]]&lt;br /&gt;
*[[L10n:Firefox 1.5 Status]]&lt;/div&gt;</summary>
		<author><name>Saforrest</name></author>
	</entry>
	<entry>
		<id>https://wiki.mozilla.org/index.php?title=User:Saforrest&amp;diff=12142</id>
		<title>User:Saforrest</title>
		<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=User:Saforrest&amp;diff=12142"/>
		<updated>2005-09-23T14:00:03Z</updated>

		<summary type="html">&lt;p&gt;Saforrest: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi, I&#039;m Saforrest.  Glad to see you guys have a wiki now.&lt;br /&gt;
&lt;br /&gt;
I&#039;m interested in localization-related stuff.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*[[L10n:Localization Teams]]&lt;/div&gt;</summary>
		<author><name>Saforrest</name></author>
	</entry>
	<entry>
		<id>https://wiki.mozilla.org/index.php?title=User:Saforrest&amp;diff=12141</id>
		<title>User:Saforrest</title>
		<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=User:Saforrest&amp;diff=12141"/>
		<updated>2005-09-23T13:54:11Z</updated>

		<summary type="html">&lt;p&gt;Saforrest: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi, I&#039;m Saforrest.  Glad to see you guys have a wiki now.&lt;/div&gt;</summary>
		<author><name>Saforrest</name></author>
	</entry>
</feed>