Template:OBX pot: Difference between revisions

From OLPC
Jump to navigation Jump to search
(remove am(haric), update doc)
m (remove ha(usa), only Sugar core was ever translated to it.)
Line 4: Line 4:
-->{{#if:{{{es|}}}| {{!}} [{{{po-root|}}}{{{es}}} es]&nbsp;}}<!--
-->{{#if:{{{es|}}}| {{!}} [{{{po-root|}}}{{{es}}} es]&nbsp;}}<!--
-->{{#if:{{{fr|}}}| {{!}} [{{{po-root|}}}{{{fr}}} fr]&nbsp;}}<!--
-->{{#if:{{{fr|}}}| {{!}} [{{{po-root|}}}{{{fr}}} fr]&nbsp;}}<!--
-->{{#if:{{{ha|}}}| {{!}} [{{{po-root|}}}{{{ha}}} ha]&nbsp;}}<!--
-->{{#if:{{{hi|}}}| {{!}} [{{{po-root|}}}{{{hi}}} hi]&nbsp;}}<!--
-->{{#if:{{{hi|}}}| {{!}} [{{{po-root|}}}{{{hi}}} ha]&nbsp;}}<!--
-->{{#if:{{{ig|}}}| {{!}} [{{{po-root|}}}{{{ig}}} ig]&nbsp;}}<!--
-->{{#if:{{{ig|}}}| {{!}} [{{{po-root|}}}{{{ig}}} ig]&nbsp;}}<!--
-->{{#if:{{{ne|}}}| {{!}} [{{{po-root|}}}{{{ne}}} ne]&nbsp;}}<!--
-->{{#if:{{{ne|}}}| {{!}} [{{{po-root|}}}{{{ne}}} ne]&nbsp;}}<!--
Line 27: Line 26:
-->{{#if:{{{es|}}}| [[Category:PO lang-es|{{PAGENAME}}]] | [[Category:PO wanted lang-es|{{PAGENAME}}]] }}<!--
-->{{#if:{{{es|}}}| [[Category:PO lang-es|{{PAGENAME}}]] | [[Category:PO wanted lang-es|{{PAGENAME}}]] }}<!--
-->{{#if:{{{fr|}}}| [[Category:PO lang-fr|{{PAGENAME}}]] | [[Category:PO wanted lang-fr|{{PAGENAME}}]] }}<!--
-->{{#if:{{{fr|}}}| [[Category:PO lang-fr|{{PAGENAME}}]] | [[Category:PO wanted lang-fr|{{PAGENAME}}]] }}<!--
-->{{#if:{{{ha|}}}| [[Category:PO lang-ha|{{PAGENAME}}]] | [[Category:PO wanted lang-ha|{{PAGENAME}}]] }}<!--
-->{{#if:{{{hi|}}}| [[Category:PO lang-hi|{{PAGENAME}}]] | [[Category:PO wanted lang-hi|{{PAGENAME}}]] }}<!--
-->{{#if:{{{hi|}}}| [[Category:PO lang-hi|{{PAGENAME}}]] | [[Category:PO wanted lang-hi|{{PAGENAME}}]] }}<!--
-->{{#if:{{{ig|}}}| [[Category:PO lang-ig|{{PAGENAME}}]] | [[Category:PO wanted lang-ig|{{PAGENAME}}]] }}<!--
-->{{#if:{{{ig|}}}| [[Category:PO lang-ig|{{PAGENAME}}]] | [[Category:PO wanted lang-ig|{{PAGENAME}}]] }}<!--
Line 50: Line 48:
| '''pot''' = &lt;-- URL of the '''POT''' file in <tt>http://foo.bar</tt> format --&gt;
| '''pot''' = &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;
| ''name'' = &lt;-- OPTIONAL - Name to show for the POT file &mdash; defaults to '''POT''' --&gt;
| am = &lt;-- http (or relative path from ''po-root'') to the PO file in [am] - {{#language:am}} --&gt;
| ar = &lt;-- http (or relative path from ''po-root'') to the PO file in [ar] - {{#language:ar}} --&gt;
| ar = &lt;-- http (or relative path from ''po-root'') to the PO file in [ar] - {{#language:ar}} --&gt;
| en = &lt;-- http (or relative path from ''po-root'') to the PO file in [en] - {{#language:en}} --&gt;
| en = &lt;-- http (or relative path from ''po-root'') to the PO file in [en] - {{#language:en}} --&gt;
| es = &lt;-- http (or relative path from ''po-root'') to the PO file in [es] - {{#language:es}} --&gt;
| es = &lt;-- http (or relative path from ''po-root'') to the PO file in [es] - {{#language:es}} --&gt;
| fr = &lt;-- http (or relative path from ''po-root'') to the PO file in [fr] - {{#language:fr}} --&gt;
| fr = &lt;-- http (or relative path from ''po-root'') to the PO file in [fr] - {{#language:fr}} --&gt;
| ha = &lt;-- http (or relative path from ''po-root'') to the PO file in [ha] - {{#language:ha}} --&gt;
| hi = &lt;-- http (or relative path from ''po-root'') to the PO file in [hi] - {{#language:hi}} --&gt;
| hi = &lt;-- http (or relative path from ''po-root'') to the PO file in [hi] - {{#language:hi}} --&gt;
| ig = &lt;-- http (or relative path from ''po-root'') to the PO file in [ig] - {{#language:ig}} --&gt;
| ig = &lt;-- http (or relative path from ''po-root'') to the PO file in [ig] - {{#language:ig}} --&gt;

Revision as of 08:47, 24 May 2009

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


Usage

Used to declare the POT & PO files of the software/activity. Parameters are:

{{OBX pot
 | root   = <-- OPTIONAL - full-wiki link to the 'root' directory where l10n resources are located -->
 | pot    = <-- URL of the POT file in http://foo.bar format -->
 | name   = <-- OPTIONAL - Name to show for the POT file — defaults to POT -->
 | ar     = <-- http (or relative path from po-root) to the PO file in [ar] - العربية -->
 | en     = <-- http (or relative path from po-root) to the PO file in [en] - English -->
 | es     = <-- http (or relative path from po-root) to the PO file in [es] - español -->
 | fr     = <-- http (or relative path from po-root) to the PO file in [fr] - français -->
 | hi     = <-- http (or relative path from po-root) to the PO file in [hi] - हिन्दी -->
 | ig     = <-- http (or relative path from po-root) to the PO file in [ig] - Igbo -->
 | ne     = <-- http (or relative path from po-root) to the PO file in [ne] - नेपाली -->
 | pt     = <-- http (or relative path from po-root) to the PO file in [pt] - português -->
 | ro     = <-- http (or relative path from po-root) to the PO file in [ro] - română -->
 | ru     = <-- http (or relative path from po-root) to the PO file in [ru] - русский -->
 | rw     = <-- http (or relative path from po-root) to the PO file in [rw] - Ikinyarwanda -->
 | th     = <-- http (or relative path from po-root) to the PO file in [th] - ไทย -->
 | ur     = <-- http (or relative path from po-root) to the PO file in [ur] - اردو -->
 | yo     = <-- http (or relative path from po-root) to the PO file in [yo] - Yorùbá -->
 | po-root= <-- OPTIONAL - the 'root' directory where all the POs l10n resources are located
                         - if specified is prepended to all the ISO 639 codes link, not used for others -->
 | 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 obsolete green countries from 2007:

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).

Update 2009

Removed am (Amharic, Ethiopia) as no .po files in that language

Categories

Sample

Translate-icon-55px.svg fedoraproject.org - write.master.pot
| ar | es | fr 
Others el / pt_BR


{{OBX pot 
 | root   = [http://translate.fedoraproject.org/module/olpc-write fedoraproject.org]
 | pot    = http://translate.fedoraproject.org/POT/olpc-write.master/write.master.pot
 | name   = write.master.pot
 | po-root= http://translate.fedoraproject.org/POT/olpc-write.master/
 | ar     = write.master.ar.po
 | es     = write.master.es.po
 | fr     = write.master.fr.po
 | 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] }}
Translate-icon-55px.svg Kuku/Localization - POT
| ar | en | es 
Others pt_BR - sw


{{OBX pot 
 | pot    = http://wiki.laptop.org/go/Kuku/Localization#kuku.pot
 | ar     = http://wiki.laptop.org/go/Kuku/Localization#ar_-_kuku.po
 | en     = http://wiki.laptop.org/go/Kuku/Localization#en_-_kuku.po
 | es     = http://wiki.laptop.org/go/Kuku/Localization#es_-_kuku.po
 | others = [[Kuku/Localization#pt_BR - kuku.po|pt_BR]] - [[Kuku/Localization#sw - kuku.po|sw]]
 | root   = [[Kuku/Localization]] }}