|
|
(41 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| Proposed article title: '''Help:Language Translation'''
| | The draft on ''Language Translation'' that was formerly here has been moved to [[Help:Language Translation]]. |
|
| |
|
| This article offers a guide for how to translate an article (a page) in Proteopedia to another language, for example from English to Japanese. The main language of Proteopedia is English. There are no plans to have complete Proteopedias in non-English languages. (In contrast, [http://wikipedia.org Wikipedia] maintains complete versions in many languages.) However, translation of English articles in Proteopedia to non-English languages is welcomed.
| | ---- |
|
| |
|
| Of course, the English and non-English versions of an article will likely diverge, unless, whenever one article is edited, a volunteer updates the other article. While such divergence is undesirable, the problem divergence creates is considered to be outweighed by the value of having some articles in non-English languages.
| | Tests for links that perform searches: |
|
| |
|
| ==Preparation== | | [http://www.proteopedia.org/wiki/index.php/Special:Search?search=%28Japanese%29&fulltext=Search (Japanese)] |
|
| |
|
| ===Create a new page for the translation===
| | [[Special:Search?search=%28Japanese%29&fulltext=Search|(Japanese)]] |
| | |
| Suppose the English version of the article is titled [[Fadel A. Samatey Group]]. The Japanese translation should be in an article titled [[Fadel A. Samatey Group (Japanese)]]. The title of the non-English article must be in English, identical to the title of the English article, and the English name of the non-English language must be given at the end in parentheses. The title of the article can be repeated in, for example, Japanese, in large bold font, as the first line of the content of the non-English article, as it is in [[Fadel A. Samatey Group (Japanese)]].
| |
| | |
| See [[Help:Editing#How_To_Create_A_New_Page|How To Create A New Page]].
| |
| | |
| ===Translate the title of the page===
| |
| | |
| [[Image:Wikitext.png|right]]
| |
| The ''wikitext'' of a Proteopedia article is the editable text and markup that appears in the box after you click the tab ''edit this page'' (see image at right).
| |
| | |
| Delete everything in the wikitext box of your new page.
| |
| | |
| In the new page, put a translation of the English title inside the wikitext box, at the top. Use markup that will make the translated title large and bold. See the example at [[Fadel A. Samatey Group (Japanese)]]. There, click ''edit this page'', then copy the first line of this page into your new page.
| |
| | |
| Replace the Japanese in the copied line with the translation of the title of your page.
| |
| | |
| ===Mark the translation as being available in English===
| |
| | |
| Included at the end of the title line that you copied above is markup that specifies that this page is available in English:
| |
| | |
| :<font color="red">'''<nowiki>[[en:</nowiki>'''</font>Fadel A. Samatey Group<font color="red">'''<nowiki>]]</nowiki>'''</font>
| |
| | |
| Change the black part of the above markup to the name of the page in a different language.
| |
| <font color="red">Do '''not''' change any of the red parts.</font>
| |
| | |
| This markup does not show on the page. Rather, it generates a link to the other page at the left bottom, below the ''toolbox'', like this:
| |
| | |
| :<table border="1"><tr><td>[[Image:In other languages1.png]]</td></tr></table>
| |
| | |
| For a highly-translated page, [[1eve]], it looks like this:
| |
| | |
| :<table border="1"><tr><td>[[Image:In other languages2.png]]</td></tr></table>
| |
| | |
| Save the page and test the ''in other languages'' link to make sure it works. If it goes to the [[Main Page]], or the wrong page, then you need to correct the title of the page in the markup.
| |
| | |
| ====2-Letter Language Codes====
| |
| Here is a link to a list of the [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes two-letter codes for 184 languages]. The article [http://www.mediawiki.org/wiki/Help:Links#Interlanguage_links Interlanguage Links] explains this markup, and the article [http://en.wikipedia.org/wiki/ISO_639 ISO 639] has links to additional information and language lists.
| |
| | |
| ===Copy the English wikitext into the new page===
| |
| | |
| The wikitext of a Proteopedia article contains both translatable English text, and markup that must not be translated. Translation will be easier if you first copy the wikitext of the entire English article into the page to be translated to another language. For this procedure we'll use the example of translation from English to Japanese.
| |
| | |
| #At the '''English''' page, click the tab ''edit this page''. You will see the wikitext.
| |
| #Click in the wikitext box.
| |
| #Edit, Select All.
| |
| #Edit, '''Copy'''.
| |
| #Open the '''Japanese''' page in another browser tab or window.
| |
| #Click the tab ''edit this page''.
| |
| #Place the cursor in the wikitext box where the English text and markup to be translated should be pasted, for example, below the Japanese title in the wikitext box.
| |
| #Edit, '''Paste'''.
| |
| #Save the Japanese page.
| |
| | |
| ==Translation==
| |
| | |
| Be careful '''not''' to translate <font color="red">'''markup'''</font>. Here are some examples. <font color="red">The red must '''not''' be translated</font>. The black needs to be translated.
| |
| | |
| ==Completion==
| |
| | |
| ===Link the Translation to the Source Article===
| |
| | |
| 1. Put the [[#Mark the translation as being available in English|interlanguage link markup]] at the top of the source article, indicating the new language in the translated article.
| |
| | |
| 2. You may also wish to put a link in the new language, to the translated article, at the top of the English article. For an example, see [[Fadel A. Samatey Group]].
| |