Template:OBX pootle: Difference between revisions
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 -->|''' |
HAS POT -->|—'''[{{{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>}}<!-- |
||
⚫ | |||
-->{{#if:{{{others|}}}| <br>'''Others:''' {{{others}}}}}</tt></span><!-- |
|||
⚫ | |||
CATEGORIZATIONS PRESENT |
CATEGORIZATIONS PRESENT |
||
--><includeonly><!-- |
--><includeonly><!-- |
||
-->{{#if:{{{pot|}}}|<!-- HAVE POT -->[[Category:POT|{{PAGENAME}}]] [[Category:Pootle]] |
-->{{#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}} |
||
| ''' |
| '''project''' = <-- [[Pootle]] project name that handles it — currently '''{ xocore | xobundled }''' --> |
||
| '' |
| '''pot''' = <-- http to the '''POT''' file in <tt>http://foo.bar</tt> format (preferably in [http://dev.laptop.org dev.laptop.org]) --> |
||
| '' |
| ''name'' = <-- OPTIONAL - Name to show for the POT file — defaults to '''POT''' --> |
||
<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
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:
- See also: {{OBX pot}} for specifying Localization resources for activities outside the scope of Pootle.
Categories
- need to determine if a category is needed (and which) in order to specify the presence (Category:POT) & absence (Category:POT wanted) of the POT.
- Category:Pootle — to note what is & should be handled 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.
Sample
{{OBX pootle | pot = http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}
{{OBX pootle | project = xocore | pot = http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot}}
{{OBX pootle | pot = http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot | name = write.master.pot }}