Changes

Jump to navigation Jump to search
809 bytes removed ,  20:32, 17 May 2008
setting up wiki translation system based on the OLPC wiki version
Line 10: Line 10:  
|}
 
|}
 
</div><includeonly>{{#ifeq: {{{status|xx}}} | {{translation/wanted/lang-{{{lang}}}}} | {{Translation/no translation/lang-{{{lang}}} | source = {{{source}}} }} [[Category:{{#ifexist:Template:Translation/wanted/lang-{{{lang}}}|{{translation/wanted/lang-{{{lang}}}}}|Translations wanted/lang-{{{lang}}} }}]] {{ {{#if:{{NAMESPACE}}||:}}{{{source}}} }} | {{#ifeq:{{{status|}}} | {{translation/incomplete/lang-{{{lang}}}}} | {{#ifexist:Template:translation/translation-incomplete/lang-{{{lang}}}|{{translation/translation-incomplete/lang-{{{lang}}}}}|{{translation/translation-incomplete/lang-en}} }}[[Category:Ongoing translations/lang-{{{lang}}}]] | [[Category:Translations lang-{{{lang}}}]]}} }}</includeonly><noinclude>
 
</div><includeonly>{{#ifeq: {{{status|xx}}} | {{translation/wanted/lang-{{{lang}}}}} | {{Translation/no translation/lang-{{{lang}}} | source = {{{source}}} }} [[Category:{{#ifexist:Template:Translation/wanted/lang-{{{lang}}}|{{translation/wanted/lang-{{{lang}}}}}|Translations wanted/lang-{{{lang}}} }}]] {{ {{#if:{{NAMESPACE}}||:}}{{{source}}} }} | {{#ifeq:{{{status|}}} | {{translation/incomplete/lang-{{{lang}}}}} | {{#ifexist:Template:translation/translation-incomplete/lang-{{{lang}}}|{{translation/translation-incomplete/lang-{{{lang}}}}}|{{translation/translation-incomplete/lang-en}} }}[[Category:Ongoing translations/lang-{{{lang}}}]] | [[Category:Translations lang-{{{lang}}}]]}} }}</includeonly><noinclude>
This template (in conjunction with [[Template:Translations]]&mdash;note the plural&mdash;and the <tt>source/translations</tt> page) are used to better keep track of the [[:Category:Translated Pages]] and the [[translating]] effort to lower the language barrier of the project.<font size="-1">
+
This template (in conjunction with [[Template:Translations]]&mdash;note the plural&mdash;and the <tt>source/translations</tt> page) are used to better keep track of the [[:Category:Translated Pages]] and the [[Translating]] effort to lower the language barrier of the project.
{| align="right" style="color:white;"
  −
|-
  −
| style="background:#0093d0;" | raw || style="background:#76aac4;" | light || style="background:#3b9fca;" | mid
  −
|-
  −
| style="background:#76aac4;" | #76aac4 || style="background:#3b9fca;" | #3b9fca || style="background:#0093d0;" | #0093d0
  −
|- style="color:black;"
  −
| style="background:#3b9fca;" | #3b9fca || style="background:#0093d0;" | #0093d0 || style="background:#76aac4;" | #76aac4
  −
|}</font>
  −
 
  −
NOTE: The (blue) color scheme is based on the 'arrow' used for the ''Community'' in the [http://www.laptop.org laptop.org] site. A sample of colors used or thought about can be seen on the right, with further explorations found in the [[Sandbox#Translation & multilingual boxes|Sandbox]]. Comments about them are welcome.
      
== Usage ==
 
== Usage ==
Line 26: Line 16:  
  <nowiki>{{</nowiki> Translation
 
  <nowiki>{{</nowiki> Translation
 
   | lang            =  &lt;-- 2/3 character language-code of the translation&mdash;ie: <tt>en, es, ...</tt> --&gt;
 
   | lang            =  &lt;-- 2/3 character language-code of the translation&mdash;ie: <tt>en, es, ...</tt> --&gt;
   | source          =  &lt;-- Source page name&mdash;ie: "The OLPC Wiki" (sans quotes) --&gt;
+
   | source          =  &lt;-- Source page name&mdash;ie: "The Sugar Labs Wiki" (sans quotes) --&gt;
 
   | version        =  &lt;-- Version ID# of the edition being translated or last updated --&gt;
 
   | version        =  &lt;-- Version ID# of the edition being translated or last updated --&gt;
 
   | ''source_display''  =  &lt;-- OPTIONAL - display string to the source link above
 
   | ''source_display''  =  &lt;-- OPTIONAL - display string to the source link above
Line 40: Line 30:  
== Samples ==
 
== Samples ==
   −
  <nowiki>{{</nowiki> Translation | lang = es | source = The OLPC Wiki | version = 30534 <nowiki>}}</nowiki>
+
  <nowiki>{{</nowiki> Translation | lang = es | source = The Sugar Labs Wiki | version = 30534 <nowiki>}}</nowiki>
{{ Translation | lang = es | source = The OLPC Wiki | version = 30534 }}
+
{{ Translation | lang = es | source = The Sugar Labs Wiki | version = 30534 }}
  <nowiki>{{</nowiki> Translation | lang = es | source = The OLPC Wiki | version = 30534  
+
  <nowiki>{{</nowiki> Translation | lang = es | source = The Sugar Labs Wiki | version = 30534  
 
                 | source_display = original  
 
                 | source_display = original  
 
                 | version_display = versión traducida  
 
                 | version_display = versión traducida  
 
                 | diff_display = últimos cambios <nowiki>}}</nowiki>
 
                 | diff_display = últimos cambios <nowiki>}}</nowiki>
{{ Translation | lang = es | source = The OLPC Wiki | version = 30534  
+
{{ Translation | lang = es | source = The Sugar Labs Wiki | version = 30534  
 
           | source_display = original | version_display = versión traducida | diff_display = últimos cambios }}
 
           | source_display = original | version_display = versión traducida | diff_display = últimos cambios }}
   −
[[Category:Language support]]
+
[[Category:Translation]]
[[Category:Languages (international)]]
  −
[[Category:Template]]
   
</noinclude>
 
</noinclude>
Anonymous user

Navigation menu