Difference between revisions of "Template:Documentation/TOC/TOC en"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (moved Template:TEST/TOC en to Template:Documentation/TOC/TOC en: Going live with translatable Master TOC)
(Moved to permanent home. Added instructions for translators.)
Line 7: Line 7:
 
}}
 
}}
 
<noinclude>
 
<noinclude>
Test version of _en aux template, instructions TBS.
+
[[Category:Documentation/TOC]]
 +
 
 +
Auxiliary template, used by template MasterTOC if called with <tt>Lang=en</tt>, or called without the <tt>Lang</tt> parameter.
 +
 
 +
Translators should create a template <tt>TOC_XX</tt>, where <tt>XX</tt> is the ISO language code (case-sensitive!) which you will be using in your template calls. To create your template, you may copy the following line: <br /><br /><nowiki>
 +
 
 +
{{Documentation/TOC/TOC_XX}}
 +
 
 +
</nowiki><br /><br /> into any page which you are editing (possibly this page), and change the <tt>XX</tt> to your ISO code. Then click '''Show preview''', and you will see a redlink to the new template page. It is ''not'' necessary to save the current page, to use the link. Just open it in a new browser window or tab.
 +
 
 +
*Copy the top part of this page, including the Category line, into your new page.
 +
*Replace the right-hand copy of the four phrases with your translations. Use whatever alphabets or diacritics you need.
 +
*Add a closing &lt;/noinclude>, save, and you're done.
 
</noinclude>
 
</noinclude>

Revision as of 21:32, 5 September 2009


Auxiliary template, used by template MasterTOC if called with Lang=en, or called without the Lang parameter.

Translators should create a template TOC_XX, where XX is the ISO language code (case-sensitive!) which you will be using in your template calls. To create your template, you may copy the following line:

{{Documentation/TOC/TOC_XX}}

into any page which you are editing (possibly this page), and change the XX to your ISO code. Then click Show preview, and you will see a redlink to the new template page. It is not necessary to save the current page, to use the link. Just open it in a new browser window or tab.

  • Copy the top part of this page, including the Category line, into your new page.
  • Replace the right-hand copy of the four phrases with your translations. Use whatever alphabets or diacritics you need.
  • Add a closing </noinclude>, save, and you're done.
Personal tools