blob: e421ff5f9b3e7143a5592184f8e07c2bee9cc2e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
---
title: Translating MDN pages
slug: MDN/Contribute/Localize/Translating_pages
tags:
- Reference
translation_of: MDN/Contribute/Localize/Translating_pages
---
<div>{{MDNSidebar}}</div><p>This article is a basic guide to translating content on MDN, including both the mechanics of translation work and tips on the proper way to handle various types of content.</p>
<h2 id="Starting_a_new_page_translation">Starting a new page translation</h2>
<p>When you come across a page you'd like to translate into your language, follow these steps:</p>
<ol>
<li>Click the Languages icon ( ) to open the <strong>Languages</strong> menu, and click <strong>Add a Translation</strong>. The Select Languages page appears.</li>
<li>Click the language that you want to translate the page into. The Translating Article view opens with the original language text displayed on the left side of the view.</li>
<li>Under <strong>Translate Description</strong>, you can translate the title and optionally the slug into the target language. The slug is the last part of the URL of a page (for example, "Translating_pages" for this article.) Some language communities do not translate the slug, keeping the same slug as English. Compare with other articles in your language to determine the common practice. You can click the minus sign next to <strong>Translate Description</strong> to hide this information when you are done with it, to make more room for the <strong>Translate Content</strong> section.</li>
<li>Under <strong>Translate Content</strong>, translate the body of the page.</li>
<li>Fill at least one <strong>tag</strong> for the page</li>
<li>Click <strong>Save Changes</strong> when you are done.</li>
</ol>
<div class="note"><strong>Note:</strong> The user interface elements of the Translating Article view are initially shown in English. On subsequent visits to translate a particular article, the UI is shown in the appropriate language if a localization of MDN is available for that language. The MDN user interface can be localized using <a href="https://localize.mozilla.org/projects/mdn/" title="https://localize.mozilla.org/projects/mdn/">Verbatim</a>. See <a href="/en-US/docs/Mozilla/Localization/Localizing_with_Verbatim" title="/en-US/docs/Mozilla/Localization/Localizing_with_Verbatim">Localizing with Verbatim</a> for details on how to use this tool.</div>
<h2 id="Editing_a_translated_page">Editing a translated page</h2>
<ul>
<li>On a translated page, click the <strong>Edit</strong> button (sometimes labeled in the target language). The Translating Article view opens.</li>
</ul>
<p>If the English version has been changed since the translation was last updated, the Translating Article view shows a source-level "diff" of the changes in the English version. This helps you see what needs to be updated in the translation.</p>
<h2 id="Translating_tags">Translating tags</h2>
<p>It's important that each page is tagged with at least one tag. Even if this is translation.</p>
<p>Some tags are used for search filters, or as conventions between contributors. They should not be translated. To know these tags, read the <a href="/en-US/docs/Project:MDN/Contributing/Tagging_standards">tagging standards</a>. You are free to create translated tags to group content if this is not covered by one of the standards tags.</p>
|