Help:Translate: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 15: Line 15:
=== How do I start translating? ===
=== How do I start translating? ===
First you need to find an article that you'd like to translate. Then, in the URL bar of your browser, add the abbreviation of your desired language (see  
First you need to find an article that you'd like to translate. Then, in the URL bar of your browser, add the abbreviation of your desired language (see  
[https://phabricator.wikimedia.org/diffusion/MW/browse/master/languages/data/Names.php here] for a list) followed by a slash (/) in front of the English article title and go to that page. Thus, if I wanted to translate the TerraSync article into Dutch, I would visit the [[nl/TerraSync]] page. As you can see this page does not exist yet, so we are sure no-one translated it in Dutch so far.
[https://phabricator.wikimedia.org/diffusion/MW/browse/master/languages/data/Names.php here] for a list) followed by a slash (/) in front of the English article title and go to that page. Thus, if I wanted to translate the TerraSync article into Dutch, I would visit the [[nl/Terrasync]] page. As you can see this article has recently been translated it in Dutch.


Now we translate the actual article. You can leave wiki links as they are (pointing to the English article,) unless the article is translated into the language of your article. In that case you make a wiki link like this: <tt><nowiki>[[:nl:Hoofdpagina]]</nowiki></tt>. [[:nl:Hoofdpagina]] will be shown in the article. It is prefered however to use <tt><nowiki>[[:nl:Hoofdpagina|Hoofdpagina]]</nowiki></tt>, as that will get rid of the language prefix ([[:nl:Hoofdpagina|Hoofdpagina]]).
As an example we will translate the actual article. You can leave wiki links as they are (pointing to the English article,) unless the article is translated into the language of your article. In that case you make a wiki link like this: <tt><nowiki>[[:nl:Hoofdpagina]]</nowiki></tt>. [[:nl:Hoofdpagina]] will be shown in the article. It is prefered however to use <tt><nowiki>[[:nl:Hoofdpagina|Hoofdpagina]]</nowiki></tt>, as that will get rid of the language prefix ([[:nl:Hoofdpagina|Hoofdpagina]]).


At the far bottom of the article you need to place the language links, so there will be a nice selection list in the menu. All translations of the article should be listed. So on the English article of [[TerraSync]], we add: <tt><nowiki>[[nl:TerraSync]]</nowiki></tt>. On the Dutch article, we add <tt><nowiki>[[en:TerraSync]]</nowiki></tt>. The language that the article is written in can be left out. Please keep the languages in alphabetical order, so it will be easier to add/remove languages.
At the far bottom of the article you need to place the language links, so there will be a nice selection list in the menu. All translations of the article should be listed. So on the English article of [[TerraSync]], we add: <tt><nowiki>[[nl:TerraSync]]</nowiki></tt>. On the Dutch article, we add <tt><nowiki>[[en:TerraSync]]</nowiki></tt>. The language that the article is written in can be left out. Please keep the languages in alphabetical order, so it will be easier to add/remove languages.
539

edits

Navigation menu