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

From Apache OpenOffice Wiki
Jump to: navigation, search
(update to translate by phrase)
(+ Cat Wiki_Templates_for_Wiki_Templates, + more documentation.)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
}}
 
}}
 
<noinclude>
 
<noinclude>
Test version of _en aux template, instructions TBS.
+
Translate MasterTOC phrases into ''English'' (en). <!-- Feel free to translate this entire line :-) -->
 +
[[Category:Documentation/TOC]]
 +
[[Category:Wiki_Templates_for_Wiki_Templates]]
 +
 
 +
===Help for Translators===
 +
This auxiliary template is used by template MasterTOC if it is called with <tt>Lang=en</tt>, or called without the <tt>Lang</tt> parameter.
 +
 
 +
Translators should create a similar template named <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 (probably 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.
 +
 
 +
The following instructions will make sense when you edit this page:
 +
*Copy the top part of this page, including the Category lines, into your new page.  
 +
*Replace the right-hand copy of the four phrases with your translations. Use whatever alphabets or diacritics you need. Notice that you do ''not'' need quotation marks around the phrases.
 +
*Add a closing &lt;/noinclude>, save your new page, and you're done. ''(Remember to'' '''Cancel''' ''the edit of'' this ''page!)''
 
</noinclude>
 
</noinclude>

Latest revision as of 08:38, 6 September 2009


Translate MasterTOC phrases into English (en).

Help for Translators

This auxiliary template is used by template MasterTOC if it is called with Lang=en, or called without the Lang parameter.

Translators should create a similar template named 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 (probably 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.

The following instructions will make sense when you edit this page:

  • Copy the top part of this page, including the Category lines, into your new page.
  • Replace the right-hand copy of the four phrases with your translations. Use whatever alphabets or diacritics you need. Notice that you do not need quotation marks around the phrases.
  • Add a closing </noinclude>, save your new page, and you're done. (Remember to Cancel the edit of this page!)
Personal tools