Template:Translation PO-laptop: Difference between revisions

From OLPC
Jump to navigation Jump to search
(new template for laptop.org translations)
 
m (typo)
Line 27: Line 27:
|}
|}


<includeonly>[[Category:Translations lang-{{{lang}}}]] [[Category:PO file|{{{lang}}}-{{PAGENAME}}}]] [[Category:Laptop.org|{{{lang}}}-{{PAGENAME}}}]]</includeonly><noinclude>
<includeonly>[[Category:Translations lang-{{{lang}}}]] [[Category:PO files|{{{lang}}}-{{PAGENAME}}}]] [[Category:Laptop.org|{{{lang}}}-{{PAGENAME}}}]]</includeonly><noinclude>
----
----
----
----

Revision as of 18:59, 11 October 2007

  This page is monitored by the OLPC team.
  {{:Template:Translation/translation of/lang-{{{lang}}}}} [[{{{source}}}|{{{source}}}]] [{{fullurl:{{{source}}}|oldid={{{version}}}}} {{:Template:Translation/original/lang-{{{lang}}}}}]  
  {{:{{{source}}}/translations}} [{{fullurl:{{{source}}}|diff=current&oldid={{{version}}}}} {{:Template:Translation/changes/lang-{{{lang}}}}}]  

This is one of the template files for the new—as of January, 2007—laptop.org website. Translators, please note that this is a template file. You should copy this file into a PO file specific to your target language rather than doing in-line edits here, e.g., PO-laptop.org-auxiliary-es for Spanish.

The PO files are organized by sections:

Basic terms common to many pages, and pages that represent the top level of the website hierarchy: [[PO-laptop.org-top-level-{{{lang}}}]]
Individual sections: [[PO-laptop.org-vision-{{{lang}}}]]
[[PO-laptop.org-laptop-{{{lang}}}]]
[[PO-laptop.org-foundation-{{{lang}}}]]
[[PO-laptop.org-children-{{{lang}}}]]
Auxilliary pages: [[PO-laptop.org-auxiliary-{{{lang}}}]]
[[PO-laptop.org-bio-{{{lang}}}]]




This template (in conjunction with Template:Translations—note the plural—and the source/translations page) are used to better keep track of the Category:Translated Pages and the translating effort to lower the language barrier of the project.

Usage

{{ Translation PO-laptop
  | lang    =  <-- 2 character language-code of the translation—ie: en, es, ... -->
  | source  =  <-- Source page name—ie: "PO-laptop.org-top-level-en-US" (sans quotes) -->
  | version =  <-- Version ID# of the edition being translated or last updated -->
}}
NOTE
the version parameter is the number displayed in the source page in the [ID# xxxxx] of the blue language-navigation bar. Keeping this number updated to the LAST version you 'translated' or 'updated' will ease updating the page when following the diff link in your page, as it will show those changes in the original from your last update.

Categories

This template will automatically include the page in the following Special:Categories:

Samples

see Category:Laptop.org for samles