TDF Wiki/Multilingual/pt

From The Document Foundation Wiki
Jump to: navigation, search

Esta página diz respeito ao presente conteúdo de Wiki Multilingue na TDF Wiki.

Contexto

Esta página contém algumas dicas importantes para os editores de wiki. Por favor, leia esta página antes de adicionar conteúdo traduzido ou localizado para o wiki.


Nomeação e Subpáginas

Este wiki é basicamente estruturado em dois modos diferentes:

  1. Content with global focus. Pages are set up in English and are translated to different languages. The translated pages are subpages named by their language code.
  2. Content with local focus. Pages are written in their local language only and won't be translated. They are subpages of a page named by the language code.


Conteúdo com foco global

As páginas são criadas em inglês e são traduzidas para idiomas diferentes. As páginas traduzidas são subpáginas nomeadas pelo seu código de idioma.

Exemplos:

 https://wiki.documentfoundation.org/Marketing
 https://wiki.documentfoundation.org/Marketing/de (subpage German translation)
 https://wiki.documentfoundation.org/Marketing/es (subpage Spanish translation)  
 https://wiki.documentfoundation.org/Marketing/fr (subpage French translation)  
 https://wiki.documentfoundation.org/Marketing/it (subpage Italian translation)  
 ... and so on


Regras básicas para criar as suas páginas:

  • The name of the translated article My Page will be My Page/xx, while xx is the ISO code of the language in lower case.
  • Always add {{OrigLang|}} to the original English page. It will display the links, to all language versions of this page.
  • Always add {{Lang|}} to a translated page, which will display the links, to all other language versions of this page.
  • If you'd like to translate the title as well, just add the translated title like this: {{Lang|Translated Title}}. Never change the article's name as this will break the language links.
  • Make sure you are working on the new article and don't accidentally translate the original one.


By this, the wiki engine supports the handling of multiple languages automatically.

  • It will display the links to all language versions of this page like this:
  • It will automatically add the language category to the pages.
  • The subpages will automatically be used by different MediaWiki extensions which detect language settings in browsers or user preferences. The user will then automatically be redirected into the appropriate subpage.


Problemas Conhecidos

Problema Estado Resolução
Automatic detection of the users language and redirection to the corresponding translated page does not work yet. under investigation Users choose the appropriate language manually by clicking on their language code in the displayed language selection bar.

Conteúdo com foco local

Pages are written in their local language only and won't be translated. They are subpages of a page named by the language code in upper case.

Exemplos:

 https://wiki.documentfoundation.org/DE (Top page of local German content)
 https://wiki.documentfoundation.org/DE/Team
 https://wiki.documentfoundation.org/DE/Veranstaltungen
 ...
 https://wiki.documentfoundation.org/FR (Top page of local French content)  
 https://wiki.documentfoundation.org/FR/Blabla
 ... and so on