Template:OBX pootle

From OLPC
Revision as of 06:15, 20 September 2008 by Skierpage (talk | contribs) (→‎Usage: better explanation)
Jump to navigation Jump to search
Translate-icon-55px.svg OLPC-Pootle Localization
.POT file NEEDED


Usage

Declares 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!

If you supply a project name as the second parameter, the template generates a set of links within that project, one for each language. The set of language links is a hardcoded list of language codes corresponding to the current (not sure WTF the date of "current" is here) 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 }}