Template:OBX pootle: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (switching solar.l.o to dev.laptop.org/translate)
(→‎Usage: better explanation)
Line 11: Line 11:
== Usage ==
== 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:
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:


<nowiki>{{</nowiki>{{PAGENAME}}
<nowiki>{{</nowiki>{{PAGENAME}}
Line 21: Line 21:
'''NOTE:''' There can not be any whitespace between the parameters!
'''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:
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 [[ISO 639-1|language codes]] corresponding to the current ''(not sure WTF the date of "current" is here)'' list of targeted languages of the "green" countries:
: {{Status green language codes}}
: {{Status green language codes}}


: '''See also:''' {{tl|OBX pot}} for specifying [[Localization]] resources for activities outside the scope of [[Pootle]].
'''See also:''' {{tl|OBX pot}} for specifying [[Localization]] resources for activities outside the scope of [[Pootle]].


== Categories ==
== Categories ==

Revision as of 06:15, 20 September 2008

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 }}