Template:OBX pootle: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (tweak)
m (tweaking)
Line 1: Line 1:
{{OBX boilerplate html | icon=[[Image:Translate-icon-55px.svg|40px]] | text = {{#if:{{{pot|}}}<!--
{{OBX boilerplate html | icon=[[Image:Translate-icon-55px.svg|40px]] | text = [http://solar.laptop.org:5080/projects/{{{project}}} OLPC-Pootle] {{#if:{{{pot|}}}<!--
HAS POT -->|'''[http://pootle.laptop.org Pootle]-[{{{pot}}} {{{name|POT}}}]'''<hr><span class="plainlinks"><tt>[http://pootle.laptop.org/am/olpc/ am], [http://pootle.laptop.org/ar/olpc/ ar], [http://pootle.laptop.org/en/olpc/ en], [http://pootle.laptop.org/es/olpc/ es], [http://pootle.laptop.org/fr/olpc/ fr], [http://pootle.laptop.org/ha/olpc/ ha], [http://pootle.laptop.org/hi/olpc/ hi], [http://pootle.laptop.org/ig/olpc/ ig], [http://pootle.laptop.org/ne/olpc/ ne], [http://pootle.laptop.org/pt/olpc/ pt], [http://pootle.laptop.org/pt_BR/olpc/ pt_BR], [http://pootle.laptop.org/ro/olpc/ ro], [http://pootle.laptop.org/ru/olpc/ ru], [http://pootle.laptop.org/rw/olpc/ rw], [http://pootle.laptop.org/th/olpc/ th], [http://pootle.laptop.org/ur/olpc/ ur] & [http://pootle.laptop.org/yo/olpc/ yo].<!--
HAS POT -->|&mdash;'''[{{{pot}}} {{{name|POT}}}]'''{{#if:{{{project|}}}|<hr><span class="plainlinks"><tt>[http://solar.laptop.org:5080/am/{{{project}}}/ am], [http://solar.laptop.org:5080/ar/{{{project}}}/ ar], [http://solar.laptop.org:5080/en/{{{project}}}/ en], [http://solar.laptop.org:5080/es/{{{project}}}/ es], [http://solar.laptop.org:5080/fr/{{{project}}}/ fr], [http://solar.laptop.org:5080/ha/{{{project}}}/ ha], [http://solar.laptop.org:5080/hi/{{{project}}}/ hi], [http://solar.laptop.org:5080/ig/{{{project}}}/ ig], [http://solar.laptop.org:5080/ne/{{{project}}}/ ne], [http://solar.laptop.org:5080/pt/{{{project}}}/ pt], [http://solar.laptop.org:5080/pt_BR/{{{project}}}/ pt_BR], [http://solar.laptop.org:5080/ro/{{{project}}}/ ro], [http://solar.laptop.org:5080/ru/{{{project}}}/ ru], [http://solar.laptop.org:5080/rw/{{{project}}}/ rw], [http://solar.laptop.org:5080/th/{{{project}}}/ th], [http://solar.laptop.org:5080/ur/{{{project}}}/ ur] & [http://solar.laptop.org:5080/yo/{{{project}}}/ yo].</tt></span>}}<!--
HAS NOT POT -->|'''<span style="color:red">[[Localization]]<br>.POT file NEEDED</span>'''}} }}<!--
-->{{#if:{{{others|}}}| <br>'''Others:''' {{{others}}}}}</tt></span><!--
HAS NOT POT -->|'''<span style="color:red">[[Localization]] &mdash; [[Pootle]]<br>.POT file NEEDED</span>'''}} }}<!--


CATEGORIZATIONS PRESENT
CATEGORIZATIONS PRESENT


--><includeonly><!--
--><includeonly><!--
-->{{#if:{{{pot|}}}|<!-- HAVE POT -->[[Category:POT|{{PAGENAME}}]] [[Category:Pootle]] {{#if:{{{others|}}}| [[Category:PO lang-others|{{PAGENAME}}]] }}|<!--
-->{{#if:{{{pot|}}}|<!-- HAVE POT -->[[Category:POT|{{PAGENAME}}]] [[Category:Pootle]]|<!--
HAVE NO POT -->[[Category:POT wanted|{{PAGENAME}}]]}}</includeonly><noinclude>{{-}}
HAVE NO POT -->[[Category:POT wanted|{{PAGENAME}}]]}}</includeonly><noinclude>{{-}}


Line 15: Line 14:


<nowiki>{{</nowiki>{{PAGENAME}}
<nowiki>{{</nowiki>{{PAGENAME}}
| '''pot''' = &lt;-- http to the '''POT''' file in <tt>http://foo.bar</tt> format (preferably in [http://dev.laptop.org dev.laptop.org]) --&gt;
| '''project''' = &lt;-- [[Pootle]] project name that handles it &mdash; currently '''{ xocore | xobundled }''' --&gt;
| ''name'' = &lt;-- OPTIONAL - Name to show for the POT file &mdash; defaults to '''POT''' --&gt;
| '''pot''' = &lt;-- http to the '''POT''' file in <tt>http://foo.bar</tt> format (preferably in [http://dev.laptop.org dev.laptop.org]) --&gt;
| ''others'' = &lt;-- OPTIONAL - if no parameter for the specific [[ISO 639]] code is available, add as wiki-links --&gt;
| ''name'' = &lt;-- OPTIONAL - Name to show for the POT file &mdash; defaults to '''POT''' --&gt;
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>


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:
: {{Status green language codes}}
: {{Status green language codes}}

'''NOTE:''' We are not using country specific codes (yet? ever?). If need arises, we can add specific parameters (ie: pt_BR but special considerations regarding categorizations should be done (ie: if pt_BR is defined, should pt be tagged as missing? or viceversa).


: '''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]].
Line 33: Line 30:
* No specific categorization by language as that will be handled externally by [[Pootle]]
* No specific categorization by language as that will be handled externally by [[Pootle]]
* Pages will be categorized in [[:Category:POs available]] with no sub-division by language.
* Pages will be categorized in [[:Category:POs available]] with no sub-division by language.
* If '''others''' parameter is declared, the including pages will also be in [[:Category:PO lang-others]]


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

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


{{{{PAGENAME}}
{{{{PAGENAME}}
| pot = http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
| pot = http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
| name = write.master.pot
| name = write.master.pot }}
| others = [http://translate.fedoraproject.org/POT/olpc-write.master/write.master.el.po el] / [http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pt_BR.po pt_BR] }}
{{-}}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
| pot = http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
| pot = http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
| name = write.master.pot
| name = write.master.pot }}</nowiki>
| others = [http://translate.fedoraproject.org/POT/olpc-write.master/write.master.el.po el] / [http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pt_BR.po pt_BR] }}</nowiki>





Revision as of 13:51, 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. Parameters are:

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

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  | pot    = 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  
 | project = xocore
 | pot    = http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot}}
Translate-icon-55px.svg OLPC-Pootlewrite.master.pot


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