PO-laptop.org-en-US: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (rewording of some instructions)
m (Reverted edits by 61.153.43.246 (Talk); changed back to last version by Xavi)
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{OLPC}}
{{OLPC}}
{{Translations}}
[[Category:Laptop.org]]
[[Category:Laptop.org]]
[[Category:PO files]]
[[Category:PO files]]
Line 6: Line 7:
Translators, please note that these are template files.
Translators, please note that these are template files.
* '''Copy''' these files into a PO file specific to your target language; don't edit in-line on this page. For instance, a Spanish translation of the top level of the site should be placed at [[PO-laptop.org-top-level-es]].
* '''Copy''' these files into a PO file specific to your target language; don't edit in-line on this page. For instance, a Spanish translation of the top level of the site should be placed at [[PO-laptop.org-top-level-es]].
* Also, please '''add''' the following category tags to your translation files:
<pre>
[[Category:Laptop.org]]
[[Category:PO files]]
</pre>


The PO files are organized by sections:
The PO files are organized by sections:
Line 13: Line 19:
|width="60%"|
|width="60%"|
Basic terms common to many pages, and pages that represent the top level of the website hierarchy:
Basic terms common to many pages, and pages that represent the top level of the website hierarchy:
|| [[PO-laptop.org-top-level-en-US]]
|| [[User:Felice/website_copy_top_level]]
|- style="background:#66aadd"
|- style="background:#66aadd"
|valign="center"|
|valign="center"|
Individual sections:
Individual sections:
||
||
[[PO-laptop.org-vision-en-US]]
[[User:Felice/website_copy_vision]]
<br/> [[User:Felice/website_copy_laptop]]
<br/> [[PO-laptop.org-laptop-en-US]]
<br/> [[User:Felice/website_copy_foundation]]
<br/> [[PO-laptop.org-foundation-en-US]]
<br/> [[User:Felice/website_copy_children]]
<br/> [[PO-laptop.org-children-en-US]]
|- style="background:#e92266"
|- style="background:#e92266"
||
||
Auxilliary pages:
Auxilliary pages:
||
||
[[PO-laptop.org-auxiliary-en-US]]
[[User:Felice/website_copy_auxilliary]]
<br/> [[PO-laptop.org-bio-en-US]]
[[User:Felice/website_copy_bio]]
|}
|}


When translating, '''do not change the msgid strings'''; do translate the text in quotes after the msgstr tokens. For instance:
When translating, '''do not change the msgid strings'''; do translate the text in quotes after the msgstr tokens. For instance:


{| border=1 cellpadding=2 style="border-collapse:collapse;" width="90%"; align="center"

|-
{| border=1 cellpadding=2 style="border-collapse:collapse;" width="90%"
| ''# original'' || width="60%" | || ''#translated''
|width="40%" valign="top"|
|-
<tt>msgid "cat"<br/>
| <tt>msgid "cat"</tt> || align="center" | &gt;&gt;&nbsp;becomes&nbsp;&gt;&gt; || <tt>msgid "cat"</tt>
msgstr "cat"</tt>
|-
|width="10%" align="center"|
| <tt>msgstr "cat"</tt> || || <tt>msgstr "gato"</tt>
becomes
|-
|valign="top"|
<tt>
msgid "cat"<br/>
msgstr "gato"
</tt>
|}
|}


If you have suggestions as to how we can improve the website, please make your comments on the discussion pages that accompany these pages.
If you have suggestions as to how we can improve the website, please make your comments on the discussion pages that accompany these pages.


== PO format ==
== Demo Library PO-like format ==


The format below is only for a [[Localization/Library|PO-ish like multi-lingual localization]] support of the [http://dev.laptop.org/pub/content/Library/ OLPC Sample Library], and not to be confused, nor used, for the PO files of the static website.
<pre>
<pre>
msgid ""
msgid ""
#en msgstr
#en msgstr
#es msgstr
#es msgstr
</pre>
</pre>

Latest revision as of 02:35, 1 October 2007

  This page is monitored by the OLPC team.
  ar | bg | de | el | en | eo | es | fr | ht | hu | id | it | ja | ko | ne | nl | pt | ro | si | hr | sr | vi | zh (s) | zh (t) HowTo [ID# 67686]  +/-  

This page contains links to the template files for the new — as of January, 2007 — www.laptop.org website. Translators, please note that these are template files.

  • Copy these files into a PO file specific to your target language; don't edit in-line on this page. For instance, a Spanish translation of the top level of the site should be placed at PO-laptop.org-top-level-es.
  • Also, please add the following category tags to your translation files:
[[Category:Laptop.org]]
[[Category:PO files]]

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-en-US

Individual sections:

PO-laptop.org-vision-en-US
PO-laptop.org-laptop-en-US
PO-laptop.org-foundation-en-US
PO-laptop.org-children-en-US

Auxilliary pages:

PO-laptop.org-auxiliary-en-US
PO-laptop.org-bio-en-US

When translating, do not change the msgid strings; do translate the text in quotes after the msgstr tokens. For instance:

# original #translated
msgid "cat" >> becomes >> msgid "cat"
msgstr "cat" msgstr "gato"

If you have suggestions as to how we can improve the website, please make your comments on the discussion pages that accompany these pages.

Demo Library PO-like format

The format below is only for a PO-ish like multi-lingual localization support of the OLPC Sample Library, and not to be confused, nor used, for the PO files of the static website.

msgid ""
#en msgstr  
#es msgstr