Difference between revisions of "CCWiki:Translate"

From Creative Commons
Jump to: navigation, search
m
Line 15: Line 15:
 
</nowiki></pre>
 
</nowiki></pre>
  
A box appear in each article listing the languages the article is available in. If an article is available more than two languages, separate the translated article names with commas in the <code>Translations</code> template.
+
A box appears in each article listing the languages the article is available in. If an article is available more than two languages, separate the translated article names with commas in the <code>Translations</code> template.
  
 
Es: is special in the translated article name. It is the [http://web.archive.org/web/20060205024706/http://en.wikipedia.org/wiki/List_of_ISO_639_codes language code] for Spanish, followed by :. If translating for another language, use the appropriate language code, e.g., Ja for Japanese (use alpha-2 if available).
 
Es: is special in the translated article name. It is the [http://web.archive.org/web/20060205024706/http://en.wikipedia.org/wiki/List_of_ISO_639_codes language code] for Spanish, followed by :. If translating for another language, use the appropriate language code, e.g., Ja for Japanese (use alpha-2 if available).
  
 
Eventually you'll be able to search for articles only in language(s) you specify.
 
Eventually you'll be able to search for articles only in language(s) you specify.

Revision as of 15:55, 20 June 2008

This is a multilingual wiki. Follow these steps to translate an article. For the purposes of illustration, the article is called Example Content and we will translate the article to Spanish.

  • Create a new article called Es:Contenido del Ejemplo. The contents should be a translation of Example Content.
  • To Es:Contenido del Ejemplo add:
  {{Translated From
    | source=Source Article Name
  }}
  • To Example Content add:
  {{Translations|
     articles=Es:Contenido del Ejemplo
  }}

A box appears in each article listing the languages the article is available in. If an article is available more than two languages, separate the translated article names with commas in the Translations template.

Es: is special in the translated article name. It is the language code for Spanish, followed by :. If translating for another language, use the appropriate language code, e.g., Ja for Japanese (use alpha-2 if available).

Eventually you'll be able to search for articles only in language(s) you specify.