Help:Traduzindo

From Gentoo Wiki
Jump to:navigation Jump to:search
This page is a translated version of the page Help:Translating and the translation is 14% complete.
Outdated translations are marked like this.

Anyone who writes both English and a foreign language can help the community out by translating documentation on the wiki.

Note that all articles must be written in English before being translated into other languages. Do not translate {{Deprecated}} or {{Archived}} articles.

In order to avoid needless work translating outdated content, it's important to take heed of the note at the top of the translating section about articles that might have changes that are not yet marked for translation.

Translators are invited to join the #gentoo-wiki-translation (webchat ) channel on IRC to facilitate coordinating work for everyone - see the wiki IRC channels article.

A extensão de tradução da MediaWiki é usada para ajudar a traduzir páginas na Wiki Gentoo para outras línguas. Ela usa um sistema de mensagems do estilo gettext que parte um artigo em pequenos pedaços de texto que são facilmente traduziveis.

Nota
There are specific instructions for translating the handbook.
Importante
All contributions must comply with the Gentoo wiki copyright policy and with the Gentoo AI policy. You must be sure to understand and accept those policies prior any contribution.

The wiki project aims to maintain a respectful, constructive environment - please be polite and considerate of other users, and be sure to follow the Gentoo code of conduct. All wiki edits should be made in the spirit of moving the project towards the common goals. Documentation and discourse should be objective and rooted in fact. The project is consensus-based - please listen to the admins, devs, and other editors.

Articles in English that are translated into other languages have some particularities that all editors must know about:

Tags de tradução

Após uma página ser marcada para tradução, "tags de tradução" serão automáticamente adicionadas a elementos da página apropriados, pela extensão Translate. Estas tags tomam a forma <--T: 15-->. Estas tags dizem respeito aos mecanismos internos da extensão e não são para ser usados por editores.

Não crie nem edite estas tags. Se um parágrafo é para ser modificado, modifique o conteúdo e deixe as tags no seu sítio. Quando apagar completamente um parágrafo, apague também as suas tags de tradução. Quando mover o parágrafo dentro da paǵina, mantenha as tags com o conteúdo.

Ao adicionar novos parágrafos a uma página, não insira manualmente tags de tradução, insira apenas o conteúdo sem as tags de tradução. Modificações ao artigo terão de aparecer na lista de Tradução de Páginas, e daí alterações terão de ser revistas e a página pode ser marcada para tradução outra vez, que irá adicionar as tags de tradução às novas secções.

If copy-pasting text between articles, be sure to remove inappropriate translation tags from the pasted text.

Dica
For long sections of output in block level layout elements, such as FileBoxes or CodeBoxes, whitespace may be added to any empty lines so that the entire output will be treated as a unique translatable section. Otherwise each section separated by an empty line would be split into separate paragraphs, each with an individual translation tag.

Para Editores: Marcar secções traduzíveis

Antes de uma página poder ser traduzida, marque as secções traduzíveis. Na maioria dos casos, é o artigo inteiro.

Adicione, também, a barra de seleção de idioma no topo do artigo usando a tag <languages />:

Para marcar uma secção como traduzível, coloque-a dentro de tags XML <translate>, como esta:

CODE Marcar um artigo como traduzível
&lt;translate&gt;
Nós estamos a usar as funcionalidades de [https://translatewiki.net/wiki/Translating:Page_translation_feature tradução de página da TranslateWiki] para ajudar a traduzir páginas na Wiki Gentoo para outras línguas.
Ela usa um sistema de mensagems do estilo gettext que parte um artigo em pequenos pedaços de texto que são facilmente traduziveis.
&lt;/translate&gt;

Para Editores: Solicitar tradução de páginas

A seguir aos passos anteriores (adicionar as tags "línguas" e "tradução"), a página irá automaticamente ser listada na página Tradução de página. Um administrador ou líder de tradução irá verificar a qualidade e aprovar ou negar o pedido. Certfique-se que segue a página de discussão, pois esta irá ser utilizada para discutir a razão do porquê o seu pedido foi negado.

When a page is marked for translation, a link with the text "Translate this page" will appear on the top of the page, to allow access to the translation interface.

When a translated article's content is changed, it will again need to be marked for translation, to allow the modified content to be translated. Pages that have pending changes will have the text "this page contains changes which are not marked for translation" at the top. It's important to avoid working on translating such pages, as this would often mean translating outdated content. For administrators, the text will read "this page has changes since it was last marked for translation" and the "marked for translation" part of that text will be a link that can be clicked to start the process of marking the page for translation.

Dica
If waiting for an article to be marked in order to translate it, it may be possible to contact an admin or lead-translator to request that an article be reviewed and marked for translation. The #gentoo-wiki-translation (webchat ) channel on IRC can be a good place to try to get attention for this.

Use the correct link style so that translations work

All internal links should be represented by {{Link}} template:

Old-style, obsolete links:

CODE Changing links to use {{Link}}
Visit the [[Main Page]]

Modificado:

CODE Changing links to use {{Link}}
Visit the {{Link|Main Page}}

The link template may also accept a label to show as text in place of the actual page name. Original:

CODE Changing links to use {{Link}}
[[Help:Translating|help on translating]]

Modificado:

CODE Changing links to use {{Link}}
{{Link|Help:Translating|help on translating}}

Links to sections, that used square bracket links should also use the link template instead. Sections must be passed to the template parameter section in order for the links to work on non-English pages:

CODE Changing links to use {{Link}}
Visit the [[Portage#Usage|using Portage]]
CODE Changing links to use {{Link}}
Visit the {{Link|Portage|section=#Usage|using Portage}}

This allows for direction to the translated page if it exists or the main article if it does not. This is dynamic as new pages are created with less work after translations are completed.

Additionally, sections should be tagged like {{Anchor|<section name in English>}} so any hash references are equal between languages. These are NOT to be translated on subsequent languages. An alternative name for the anchor may also be used in place of the section name, particularly in abnormally long or those with non-alpha characters. When using an alternative name, the Link section must point to this Anchor.

For translators - how to translate articles into other languages

Para Qualquer Pessoa: Tornar-se tradutor

Pedir para traduzir páginas na wiki é relativamente simples. Para línguas que já estão traduzidas, basta adicionar uma entrada na página de pedidos de conta de tradutor, usando uma conta wiki normal, e esperar por uma resposta.

Para traduzir artigos para uma nova língua, por favor comece por traduzir esta página de ajuda em user space. Vá à página de utilizador para a conta que pediu para ser um tradutor, e na barra URl, adicione uma barra e o nome da nova página, por exemplo "/User:Larry/Translating_Esperanto". Clique no link "create this page", e publique a nova tradução aí. Quando solicitar uma conta tradutora, apresente o link para a nova tradução.

The list of translated languages on the wiki should be the list of languages at the top of this page (as the first act of adding a new translated language should be to translate this page).

Para Tradutores: Traduzindo

Importante
{{{1}}}

Para começar a traduzir um artigo, clique no link Traduzir esta página abaixo do título da página. Na próxima página, selecione o idioma no canto superior direito.

Isto mostrará uma tabela dos parágrafos traduzíveis. Clique nos links na colunas mais à esquerda para mostrar uma caixa de entrada para tradução. Depois de terminar um paŕágrafo, clique em Saltar para a seguinte. Para terminar, clique em Gravar tradução.

Those who are promoted to a lead translator, also have access to translate messages for templates.

Advanced

Modelos especiais

Estes modelos são traduzidos:


NOVO! Modelos não precisam de ser alterados, eles automaticamente mostram strings traduzidas.

Se uma língua está em falta, ou para sugerir novos Modelos para serem traduzíveis, contacte o projeto wiki.

Exceções para os códigos de língua

Para alguns scripts, não há nenhum código ISO 639-1 utilizável. Estas exceções são usadas em seu lugar:

Código de substituição Língua
zh-cn Chinês Simplificado (简体中文)

Estatísticas de idioma

Uma lista de páginas não completamente traduzidas podem ser encontradas ao preencher um código de idioma em Special:LanguageStats.