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

From OLPC
Jump to navigation Jump to search
m (point to PO-laptop...en-US instead of User:Felice/website_copy...)
(reworded the PO format section header + the note on cat/gato msgstr only)
Line 32: Line 32:
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>

Revision as of 20:42, 1 April 2007

  This page is monitored by the OLPC team.

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.

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