Template:OBX pootle: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (tweak)
m (typo in URL)
 
(13 intermediate revisions by 2 users not shown)
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://translate.sugarlabs.org/projects/{{{2|}}} Pootle] {{#if:{{{1|}}}<!--
HAS POT -->|&mdash; '''[{{{1}}} {{{3|POT}}}]'''[[Localization_URL::{{{1}}}| ]]<!--
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 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}}]] }}|<!--
--> [[Category:Pootle]] {{#if:{{{1|}}}|<!-- HAS POT -->[[Category:POT|{{PAGENAME}}]]|<!--
HAVE NO POT -->[[Category:POT wanted|{{PAGENAME}}]]}}</includeonly><noinclude>{{-}}
HAS NO POT -->[[Category:POT wanted|{{PAGENAME}}]]}}</includeonly><noinclude>{{-}}


== 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. Parameters are:
Declares that a particular activity or content [[localization]] is going to be done through the [[Pootle]] [[translating]] server which as of early 2009 is http://translate.sugarlabs.org. 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}}
| '''pot''' = &lt;-- http to the '''POT''' file in <tt>http://foo.bar</tt> format (preferably in [http://dev.laptop.org dev.laptop.org]) --&gt;
| &lt;-- URL of the '''POT''' file in <tt>http://foo.bar</tt> format --&gt;
| ''name'' = &lt;-- OPTIONAL - Name to show for the POT file &mdash; defaults to '''POT''' --&gt;
| &lt;-- { fructose| honey | ''other'' } &mdash; project name within http://translate.sugarlabs.org/projects --&gt;
| ''others'' = &lt;-- OPTIONAL - if no parameter for the specific [[ISO 639]] code is available, add as wiki-links --&gt;
| &lt;-- OPTIONAL - Name to show for the POT file &mdash; defaults to '''POT''' --&gt;
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>


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


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


== Categories ==
== Categories ==
* [[:Category:Pootle]]

* {{Pending|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:POT]] if the first parameter (the URL of the POT file ) is provided, otherwise [[:Category:POT wanted]].
* The [[Semantic MediaWiki|semantic]] [[Property:Localization URL]] is set as well.
* [[:Category:Pootle]] &mdash; 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.
* If '''others''' parameter is declared, the including pages will also be in [[:Category:PO lang-others]]


== Sample ==
== Sample ==


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

{{{{PAGENAME}}|http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot|my_record}}
{{-}}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki> | pot = http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}</nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot|my_record}}</nowiki>


{{{{PAGENAME}}|http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot|my_write|write.master.pot }}
{{{{PAGENAME}}
| 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] }}
{{-}}
{{-}}
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>
<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>|http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot|my_write|write.master.pot }}</nowiki>
| 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] }}</nowiki>





Latest revision as of 07:52, 24 May 2009

Translate-icon-55px.svg Pootle Localization
.POT file NEEDED


Usage

Declares that a particular activity or content localization is going to be done through the Pootle translating server which as of early 2009 is http://translate.sugarlabs.org. If there are more than one POT file, a separate box should be used for each one of them. Unnamed parameters are:

{{OBX pootle
 | <-- URL of the POT file in http://foo.bar format -->
 | <-- { fructose| honey | other } — project name within http://translate.sugarlabs.org/projects  -->
 | <-- OPTIONAL - Name to show for the POT file — defaults to POT -->
 }}

NOTE: There can not be any whitespace between the parameters!

See also: {{OBX pot}} for specifying Localization resources for activities outside the scope of Pootle.

Categories

Sample

Translate-icon-55px.svg PootlePOT


{{OBX pootle  |http://wiki.laptop.org/go/Kuku/Localization#kuku.pot}}
Translate-icon-55px.svg PootlePOT


{{OBX pootle |http://www.mediamods.com/public-svn/camera-activity/Record.activity/po/Record.pot|my_record}}
Translate-icon-55px.svg Pootlewrite.master.pot


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