mozilla

Revision 75987 of Localization notes

  • Revision slug: Localization_notes
  • Revision title: Localization notes
  • Revision id: 75987
  • Created:
  • Creator: Nc15
  • Is current revision? No
  • Comment

Revision Content

Localizers usually work on the localizable files without the context of the source files including the localized strings; it is important to add comments to the localizable files itself, too. These comments are generally referred to as localization notes. There is an established format for those, which is described in this document.

DTD files 
<!-- LOCALIZATION NOTE (entity name): comment -->
properties files 
# LOCALIZATION NOTE (key): comment

File-wide comments should use the same format, be at the top of the file (after the license header, though) and just drop the (entity name/key) reference.

{{ languages( { "ja": "ja/Localization_notes" } ) }}

Revision Source

<p>Localizers usually work on the localizable files without the context of the source files including the localized strings; it is important to add comments to the localizable files itself, too. These comments are generally referred to as <i>localization notes</i>. There is an established format for those, which is described in this document.
</p>
<dl><dt> DTD files </dt><dd>
</dd></dl>
<pre class="eval">&lt;!-- LOCALIZATION NOTE (entity name): comment --&gt;
</pre>
<dl><dt> properties files </dt><dd>
</dd></dl>
<pre class="eval"># LOCALIZATION NOTE (key): comment
</pre>
<p>File-wide comments should use the same format, be at the top of the file (after the license header, though) and just drop the <i>(entity name/key)</i> reference.
</p>{{ languages( { "ja": "ja/Localization_notes" } ) }}
Revert to this revision