docs: pt_BR: add initial Portuguese translation
Subsystems (2)
Daniel Pereira
maintainerPATCH v3 1/1 docs: pt_BR: add initial Portuguese translation
This patch introduces the initial Portuguese (Brazilian) translation for the Linux kernel documentation. It includes the mandatory disclaimer, the translation of the HOWTO document, and establishes the directory structure for the pt_BR locale.
---
v3:
- Fix alphabetical order in MAINTAINERS file.
- Remove trailing whitespaces in RST files.
- Fix indentation in Documentation/translations/index.rst.
v2:
- Include pt_BR/index in the main translations index.
--- Documentation/translations/index.rst | 1 + .../translations/pt_BR/disclaimer-pt_BR.rst | 11 + Documentation/translations/pt_BR/index.rst | 67 ++ .../translations/pt_BR/process/howto.rst | 637 ++++++++++++++++++ MAINTAINERS | 8 + 5 files changed, 724 insertions(+) create mode 100644 Documentation/translations/pt_BR/disclaimer-pt_BR.rst create mode 100644 Documentation/translations/pt_BR/index.rst create mode 100644 Documentation/translations/pt_BR/process/howto.rst
Documentation/translations/index.rst +1 -0
@@ -13,6 +13,7 @@ Translations ko_KR/index ja_JP/index sp_SP/index + pt_BR/index .. _translations_disclaimer:
Documentation/translations/pt_BR/disclaimer-pt_BR.rst new file +11 -0
@@ -0,0 +1,11 @@ +.. SPDX-License-Identifier: GPL-2.0 + +.. _pt_disclaimer: + +Aviso sobre traduções para português +==================================== + +Esta documentação foi traduzida para português brasileiro por voluntários. +Em caso de qualquer divergência entre esta tradução e o documento original +em inglês, a versão em inglês (encontrada no diretório Documentation/) +deve ser considerada a única fonte de verdade.
Documentation/translations/pt_BR/index.rst new file +67 -0
67 lines not on this page · raw message
Documentation/translations/pt_BR/process/howto.rst new file +637 -0
637 lines not on this page · raw message
MAINTAINERS +8 -0
@@ -21141,6 +21141,12 @@ F: include/sound/pxa2xx-lib.h F: sound/arm/pxa* F: sound/soc/pxa/ +PORTUGUESE (BRAZILIAN) TRANSLATION +M: Daniel Pereira <[email protected]> +L: [email protected] +S: Maintained +F: Documentation/translations/pt_BR/ + QAT DRIVER M: Giovanni Cabiddu <[email protected]> L: [email protected]
@@ -28876,3 +28882,5 @@ S: Buried alive in reporters T: git git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git F: * F: */ + +
Signature · 1 line
2.43.0
Jonathan Corbet
maintainerQuoted 6 lines · Daniel Pereira
This patch introduces the initial Portuguese (Brazilian) translation for the Linux kernel documentation. It includes the mandatory disclaimer, the translation of the HOWTO document, and establishes the directory structure for the
pt_BRlocale.Signed-off-by Daniel Pereira <[email protected]>
I've taken a look and have a few brief comments...
Quoted 24 lines
---
v3:
- Fix alphabetical order inMAINTAINERSfile.
- Remove trailing whitespaces in RST files.
- Fix indentation inDocumentation/translations/index.rst.v2:
- Include pt_BR/index in the main translations index.--- Documentation/translations/index.rst | 1 + .../translations/pt_BR/disclaimer-pt_BR.rst | 11 + Documentation/translations/pt_BR/index.rst | 67 ++ .../translations/pt_BR/process/howto.rst | 637 ++++++++++++++++++ MAINTAINERS | 8 + 5 files changed, 724 insertions(+) create mode 100644 Documentation/translations/pt_BR/disclaimer-pt_BR.rst create mode 100644 Documentation/translations/pt_BR/index.rst create mode 100644 Documentation/translations/pt_BR/process/howto.rstDocumentation/translations/index.rst +0
-0
Documentation/translations/index.rst Translations · line 16
Quoted 4 lines
Documentation/translations/index.rst +1
-0@@ -13,6 +13,7 @@ Translations ko_KR/index ja_JP/index sp_SP/index + pt_BR/index
If you look at the rendered page, you'll see that the translations are in alphabetical order. Not hugely important but we might as well continue that tradition.
Documentation/translations/pt_BR/disclaimer-pt_BR.rst line 3
Quoted 11 lines
Documentation/translations/index.rst +0
-0.. _translations_disclaimer:Documentation/translations/pt_BR/disclaimer-pt_BR.rst new file +3
-0@@ -0,0 +1,11 @@ +.. SPDX-License-Identifier: GPL-2.0 + +.. _pt_disclaimer:
You don't need this label here; you don't use it. In truth, it seems like this file isn't used in the build at all? That should have generated a warning?
Quoted 13 lines
Documentation/translations/pt_BR/disclaimer-pt_BR.rst new file +7
-0+Aviso sobre traduções para português +==================================== + +Esta documentação foi traduzida para português brasileiro por voluntários. +Em caso de qualquer divergência entre esta tradução e o documento original +em inglês, a versão em inglês (encontrada no diretório Documentation/) +deve ser considerada a única fonte de verdade.Documentation/translations/pt_BR/index.rst new file +0
-0
Documentation/translations/pt_BR/index.rst line 3
Quoted 3 lines
Documentation/translations/pt_BR/index.rst new file +3
-0@@ -0,0 +1,67 @@ +.. SPDX-License-Identifier: GPL-2.0 + +.. _pt_BR_linux_doc:
Here too, no label. If you need to refer to this file, just use its name.
Quoted 11 lines
Documentation/translations/pt_BR/index.rst new file +11
-0+========================================= +Documentação do Kernel Linux em Português +========================================= + +.. raw:: latex + + \kerneldocCJKoff + +:mantenedor: Daniel <[email protected]> + +Este é o nível principal da documentação do kernel em língua portuguesa (Brasil).
Documentation/translations/pt_BR/index.rst line 25
Quoted 10 lines
Documentation/translations/pt_BR/index.rst new file +10
-0+A tradução ainda está em seu estágio inicial e incompleta; você notará avisos +sinalizando a falta de traduções para grupos específicos de documentos. + +De maneira geral, a documentação, assim como o próprio kernel, está em constante +desenvolvimento; isso é especialmente verdade agora, pois estamos trabalhando +na reorganização da documentação de forma mais coerente. Melhorias na +documentação são sempre bem-vindas; se você deseja ajudar, inscreva-se na lista +de discussão linux-doc em vger.kernel.org. + +.. _pt_BR_disclaimer:
...and another label to take out. This seems to be a different disclaimer?
Quoted 47 lines
Documentation/translations/pt_BR/index.rst new file +41
-0+Avisos +====== + +O objetivo desta tradução é facilitar a leitura e compreensão para aqueles que +não dominam o inglês ou têm dúvidas sobre sua interpretação, ou simplesmente +para quem prefere ler em sua língua nativa. No entanto, tenha em mente que a +*única* documentação oficial é a em língua inglesa: :ref:`linux_doc` + +A propagação simultânea de uma alteração em :ref:`linux_doc` para todas as +traduções é altamente improvável. Os mantenedores das traduções — e seus +contribuidores — acompanham a evolução da documentação oficial e tentam manter +as respectivas traduções alinhadas na medida do possível. Por este motivo, não +há garantia de que uma tradução esteja atualizada com a última modificação. +Se o que você ler em uma tradução não corresponder ao que ler no código, +informe o mantenedor da tradução e — se puder — verifique também a +documentação em inglês. + +Uma tradução não é um *fork* da documentação oficial; portanto, os usuários não +encontrarão nela informações diferentes daquelas contidas na versão oficial. +Qualquer adição, remoção ou modificação de conteúdo deve ser feita primeiro nos +documentos em inglês. Posteriormente, quando possível, a mesma alteração deve +ser aplicada às traduções. Os mantenedores das traduções aceitam contribuições +que afetem puramente a atividade de tradução (por exemplo, novas traduções, +atualizações, correções). + +As traduções buscam ser o mais precisas possível, mas não é possível mapear +diretamente uma língua em outra. Cada língua possui sua própria gramática e +cultura, portanto, a tradução de uma frase em inglês pode ser modificada para +se adaptar ao português. Por esse motivo, ao ler esta tradução, você poderá +encontrar algumas diferenças de forma, mas que transmitem a mensagem original. + +Trabalhando com a comunidade de desenvolvimento +=============================================== + +As guias fundamentais para a interação com a comunidade de desenvolvimento do +kernel e sobre como ver seu trabalho integrado. + +.. toctree:: + :maxdepth: 1 + + Como começar <process/howto>Documentation/translations/pt_BR/process/howto.rst new file +0
-0
Documentation/translations/pt_BR/process/howto.rst line 3
Quoted 3 lines
Documentation/translations/pt_BR/process/howto.rst new file +3
-0@@ -0,0 +1,637 @@ +.. SPDX-License-Identifier: GPL-2.0 + +.. _process_howto:
You know what I'm going to say here :)
Documentation/translations/pt_BR/process/howto.rst line 6
Quoted 2 lines
Documentation/translations/pt_BR/process/howto.rst new file +2
-0+COMO FAZER o desenvolvimento do kernel Linux +============================================
...and this is where I'll stop; I'm not in a position judge the quality of the translation itself.
Thanks,
jon
A message that is not in the archive (sent off-list or not yet received): CAMAsx6f0VC+BxWWuezRK18=2+X6dNwLDccr_vf8-ONOpBQ1WAQ@mail.gmail.com
Jonathan Corbet
maintainerOne other point of order: never remove the list CCs. We do our development in the open.
Quoted 6 lines · Daniel Pereira
I have addressed all the technical points you raised. Additionally, I discovered that
pt_BRwas missing inDocumentation/translations.pyand I have now added it to ensure full build support.Regarding the role of a maintainer for a new language: is there a specific vetting process or "test" one must undergo to assume this responsibility?
Not really. The main responsibility at this point will be to review translation patches; I will generally hold off on applying translations until I see a review from somebody who can understand them properly.
Quoted 5 lines
I am a Systems Engineer at a data center in Brazil (HostDime) and a Linux instructor at events such as DevOps Days and Debian Day. My goal is to coordinate a larger translation effort with my students and the local community to provide high-quality documentation in Portuguese across the entire country.
This is find. What I would recommend is to go through a review process internally with your students, then have them post the patches publicly once they appear to be in good shape.
Thanks,
jon
Daniel Pereira
maintainerQuoted 23 lines · Jonathan Corbet
One other point of order: never remove the list CCs. We do our development in the open.
Quoted 6 lines · Daniel Pereira
I have addressed all the technical points you raised. Additionally, I discovered that
pt_BRwas missing inDocumentation/translations.pyand I have now added it to ensure full build support.Regarding the role of a maintainer for a new language: is there a specific vetting process or "test" one must undergo to assume this responsibility?
Not really. The main responsibility at this point will be to review translation patches; I will generally hold off on applying translations until I see a review from somebody who can understand them properly.
Quoted 5 lines
I am a Systems Engineer at a data center in Brazil (HostDime) and a Linux instructor at events such as DevOps Days and Debian Day. My goal is to coordinate a larger translation effort with my students and the local community to provide high-quality documentation in Portuguese across the entire country.
Quoted 7 lines
This is find. What I would recommend is to go through a review process internally with your students, then have them post the patches publicly once they appear to be in good shape.
Thanks,
jon
Hi Jon,
Thank you for the confidence in my effort to make the kernel easier for Brazilians. It is an honor to contribute.
I fully understand the point about the CCs and will ensure the list is always included. In a few minutes, I will submit version 4 of the patch.
Thank you, and I am at your disposal for whatever is needed.
Best regards,
Daniel
Randy Dunlap
reviewerHi,
Quoted 18 lines · Daniel Pereira
MAINTAINERS +6
-0@@ -21141,6 +21141,12 @@ F: include/sound/pxa2xx-lib.h F: sound/arm/pxa* F: sound/soc/pxa/ +PORTUGUESE (BRAZILIAN) TRANSLATION +M: Daniel Pereira <[email protected]> +L: [email protected] +S: Maintained +F: Documentation/translations/pt_BR/ + QAT DRIVER M: Giovanni Cabiddu <[email protected]> L: [email protected]
MAINTAINERS S: Buried alive in reporters · line 28886
Quoted 5 lines
MAINTAINERS +2
-0@@ -28876,3 +28882,5 @@ S: Buried alive in reporters T: git git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git F: * F: */ + +
Don't add extra blank lines at the end of this file. I.e., that entire last diff block shouldn't be here.
Signature · 1 line
~Randy
Daniel Pereira
maintainerQuoted 22 lines · Randy Dunlap
Hi,
Quoted 18 lines · Daniel Pereira
MAINTAINERS +6
-0@@ -21141,6 +21141,12 @@ F: include/sound/pxa2xx-lib.h F: sound/arm/pxa* F: sound/soc/pxa/ +PORTUGUESE (BRAZILIAN) TRANSLATION +M: Daniel Pereira <[email protected]> +L: [email protected] +S: Maintained +F: Documentation/translations/pt_BR/ + QAT DRIVER M: Giovanni Cabiddu <[email protected]> L: [email protected]@@ -28876,3 +28882,5 @@ S: Buried alive in reporters
Quoted 8 lines
MAINTAINERS S: Buried alive in reporters · line 28886
Quoted 5 lines
MAINTAINERS +2
-0T: git git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git F: * F: */ + +Don't add extra blank lines at the end of this file. I.e., that entire last diff block shouldn't be here.
Hi Randy,
Thank you for the observation. I have just fixed this in the v4 patch by removing the extra blank lines at the end of the MAINTAINERS file.
I am resubmitting the corrected patch now.
Best regards,
Daniel Pereira