Template:OBX pootle: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (switching to unnamed parameters)
m (tweaking unnamed parameters & usage)
Line 18: Line 18:
| <-- OPTIONAL - Name to show for the POT file — defaults to '''POT''' -->
| <-- OPTIONAL - Name to show for the POT file — defaults to '''POT''' -->
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>

'''NOTE:''' There can not be any whitespace between the parameters!


The explicit [[ISO 639-1|language codes]] correspond to the current list of targeted languages of the green countries:
The explicit [[ISO 639-1|language codes]] correspond to the current list of targeted languages of the green countries:
Line 33: Line 35:
== Sample ==
== Sample ==


{{{{PAGENAME}} | http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}
{{{{PAGENAME}} |http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}
{{-}}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki> | http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}</nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki> |http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}</nowiki>


{{{{PAGENAME}}|http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot|xocore}}
{{{{PAGENAME}}
| xocore
| http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot}}
{{-}}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot|xocore}}</nowiki>
| xocore
| http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot}}</nowiki>


{{{{PAGENAME}}|http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot|xocore|write.master.pot }}
{{{{PAGENAME}}
| http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
| xocore
| write.master.pot }}
{{-}}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot|xocore|write.master.pot }}</nowiki>
| http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
| xocore
| write.master.pot }}</nowiki>





Revision as of 14:06, 24 October 2007

Translate-icon-55px.svg OLPC-Pootle Localization
.POT file NEEDED


Usage

Used to declare that a particular activity or content localization is going to be done through the Pootle translating server. If there are more than one POT file, a separate box should be used for each one of them. Unnamed parameters are:

{{OBX pootle
 | <-- http to the POT file in http://foo.bar format (preferably in dev.laptop.org) -->
 | <-- { xocore | xobundled }Pootle project name that includes it  -->
 | <-- OPTIONAL - Name to show for the POT file — defaults to POT -->
 }}

NOTE: There can not be any whitespace between the parameters!

The explicit language codes correspond to the current list of targeted languages of the green countries:

am, ar, en, es, fr, ha, hi, ig, ne, pt, ro, ru, rw, th, ur, & yo
See also: {{OBX pot}} for specifying Localization resources for activities outside the scope of Pootle.

Categories

Sample

Translate-icon-55px.svg OLPC-PootlePOT


{{OBX pootle  |http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}
Translate-icon-55px.svg OLPC-PootlePOT
am, ar, en, es, fr, ha, hi, ig, ne, pt, pt_BR, ro, ru, rw, th, ur & yo.


{{OBX pootle |http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot|xocore}}
Translate-icon-55px.svg OLPC-Pootlewrite.master.pot
am, ar, en, es, fr, ha, hi, ig, ne, pt, pt_BR, ro, ru, rw, th, ur & yo.


{{OBX pootle |http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot|xocore|write.master.pot }}