Template:OBX pootle: Difference between revisions

From OLPC
Jump to navigation Jump to search
(new OBX for Pootle managed POTs)
 
m (tweak)
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 = {{#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 -->|'''[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].<!--
-->{{#if:{{{others|}}}| <br>'''Others:''' {{{others}}}}}</tt></span><!--
-->{{#if:{{{others|}}}| <br>'''Others:''' {{{others}}}}}</tt></span><!--
HAS NOT POT -->|<span style="color:red">[[Localization]] &mdash; [[Pootle]]<br>.POT file NEEDED</span>}}'''}}<!--
HAS NOT POT -->|'''<span style="color:red">[[Localization]] &mdash; [[Pootle]]<br>.POT file NEEDED</span>'''}} }}<!--


CATEGORIZATIONS PRESENT
CATEGORIZATIONS PRESENT
Line 36: Line 36:


== Sample ==
== Sample ==

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


{{{{PAGENAME}}
{{{{PAGENAME}}
Line 46: Line 50:
| 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>
| 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>

{{{{PAGENAME}}
| pot = http://wiki.laptop.org/go/Kuku/Localization#kuku.pot
| others = [[Kuku/Localization#pt_BR - kuku.po|pt_BR]] - [[Kuku/Localization#sw - kuku.po|sw]]}}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
| pot = http://wiki.laptop.org/go/Kuku/Localization#kuku.pot
| others = [[Kuku/Localization#pt_BR - kuku.po|pt_BR]] - [[Kuku/Localization#sw - kuku.po|sw]]}}</nowiki>





Revision as of 22:36, 12 October 2007

Translate-icon-55px.svg LocalizationPootle
.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
 | 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 -->
 | others = <-- OPTIONAL - if no parameter for the specific ISO 639 code is available, add as wiki-links -->
 }}

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

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: {{OBX pot}} for specifying Localization resources for activities outside the scope of Pootle.

Categories

Sample

Translate-icon-55px.svg Pootle-POT
am, ar, en, es, fr, ha, hi, ig, ne, pt, pt_BR, ro, ru, rw, th, ur & yo.


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


{{OBX pootle 
 | pot    = http://translate.fedoraproject.org/POT/olpc-write.master/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] }}