Difference between revisions of "CCWiki:Translate"
m |
|||
Line 1: | Line 1: | ||
− | This is | + | 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. | * Create a new article called '''Es:Contenido del Ejemplo'''. The contents should be a translation of Example Content. | ||
− | * To '''Es:Contenido del Ejemplo''' add < | + | * To '''Es:Contenido del Ejemplo''' add: |
− | * To Example Content add < | + | <pre><nowiki> |
+ | {{Translated From | ||
+ | | source=Source Article Name | ||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | * To Example Content add: | ||
+ | <pre><nowiki> | ||
+ | {{Translations| | ||
+ | articles=Es:Contenido del Ejemplo | ||
+ | }} | ||
+ | </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, | + | 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. |
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 | + | Eventually you'll be able to search for articles only in language(s) you specify. |
Revision as of 22:21, 12 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 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 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.