docs: pt_BR: Add initial Portuguese translation
Daniel Pereira
maintainerPATCH v5 1/1 docs: pt_BR: Add initial Portuguese translation
Introduce the initial Portuguese (Brazilian) translation for the Linux kernel documentation (HOWTO document). It establishes the directory structure for the pt_BR locale and adds the official entry for the pt_BR maintainer in the MAINTAINERS file.
Additionally, this version adds pt_BR support to the documentation build script (Documentation/sphinx/translations.py) to ensure proper rendering and fixes the documentation hierarchy to avoid orphan file warnings.
---
v5:
- Final cleanup of the MAINTAINERS entry for proper formatting (TABS).
- Synchronized all changes into a clean branch structure (v5-final-clean).
v4:
- Removed unnecessary labels in all RST files as requested by Jon Corbet.
- Fixed alphabetical order in Documentation/translations/index.rst.
- Included the disclaimer in the documentation hierarchy to avoid orphan warnings.
- Added pt_BR support to Documentation/sphinx/translations.py.
- Updated MAINTAINERS and Signed-off-by with full name.
v3:
- Fixed alphabetical order in MAINTAINERS file.
- Removed trailing whitespaces in RST files.
- Fixed indentation in Documentation/translations/index.rst.
v2:
- Included pt_BR/index in the main translations index.
v1:
- Initial submission.
--- Documentation/sphinx/translations.py | 1 + Documentation/translations/index.rst | 4 +- .../translations/pt_BR/disclaimer-pt_BR.rst | 11 + Documentation/translations/pt_BR/index.rst | 69 ++ .../translations/pt_BR/process/howto.rst | 637 ++++++++++++++++++ MAINTAINERS | 6 + 6 files changed, 726 insertions(+), 2 deletions(-) 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/sphinx/translations.py +1 -0
@@ -25,6 +25,7 @@ all_languages = { 'it_IT': 'Italian', 'ja_JP': 'Japanese', 'ko_KR': 'Korean', + 'pt_BR': 'Portuguese (Brazilian)', 'sp_SP': 'Spanish', }
Documentation/translations/index.rst +2 -2
@@ -10,11 +10,11 @@ Translations zh_CN/index zh_TW/index it_IT/index - ko_KR/index ja_JP/index + ko_KR/index + pt_BR/index sp_SP/index - .. _translations_disclaimer: Disclaimer
Documentation/translations/pt_BR/disclaimer-pt_BR.rst new file +11 -0
@@ -0,0 +1,11 @@ +.. SPDX-License-Identifier: GPL-2.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 +69 -0
69 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 +6 -0
@@ -20760,6 +20760,12 @@ S: Maintained F: drivers/pnp/ F: include/linux/pnp.h +PORTUGUESE (BRAZILIAN) TRANSLATION +M: Daniel Pereira <[email protected]> +L: [email protected] +S: Maintained +F: Documentation/translations/pt_BR/ + PORTWELL EC DRIVER M: Yen-Chi Huang <[email protected]> L: [email protected]
Signature · 1 line
2.47.3
Quoted 5 lines · Daniel Pereira
Introduce the initial Portuguese (Brazilian) translation for the Linux kernel documentation (HOWTO document). It establishes the directory structure for the
pt_BRlocale and adds the official entry for thept_BRmaintainer in theMAINTAINERSfile.
Quoted 8 lines
Additionally, this version adds
pt_BRsupport to the documentation build script (Documentation/sphinx/translations.py) to ensure proper rendering and fixes the documentation hierarchy to avoid orphan file warnings.Signed-off-by Daniel Pereira <[email protected]>---
Thanks.
Signature · 1 line
~Randy
A message that is not in the archive (sent off-list or not yet received): CAMAsx6cH9OdFEM_aMWwT717tQEdu5C6Nd+K3YipWfPxNFYeteg@mail.gmail.com
A message that is not in the archive (sent off-list or not yet received): CAMAsx6c-Gc7hN9pj1GSeEYAVRY9jp1L0gVcyxos43v6RtKUaCw@mail.gmail.com
Jonathan Corbet
maintainerQuoted 6 lines · Daniel Pereira
Following the v5 submission and the Acked-by/Tested-by from Randy Dunlap, I would like to ask about the next steps for merging the Portuguese (Brazilian) documentation into the mainline kernel.
Please let me know if any further adjustments are required or if I should wait for the next merge window.
The merge window starts tomorrow and closes in two weeks; new material will be applied after that. There's nothing more you need to do.
Thanks,
jon
Jonathan Corbet
maintainerQuoted 11 lines · Daniel Pereira
Introduce the initial Portuguese (Brazilian) translation for the Linux kernel documentation (HOWTO document). It establishes the directory structure for the
pt_BRlocale and adds the official entry for thept_BRmaintainer in theMAINTAINERSfile.Additionally, this version adds
pt_BRsupport to the documentation build script (Documentation/sphinx/translations.py) to ensure proper rendering and fixes the documentation hierarchy to avoid orphan file warnings.Signed-off-by Daniel Pereira <[email protected]>
The merge window has passed, the floodgates are opened, and I have applied this as the first 7.1-destined docs patch. All looks good, thanks for your patience; I'm sorry that the timing worked out so poorly.
jon
Daniel Pereira
maintainerQuoted 13 lines · Jonathan Corbet
Quoted 10 lines · Daniel Pereira
Introduce the initial Portuguese (Brazilian) translation for the Linux kernel documentation (HOWTO document). It establishes the directory structure for the
pt_BRlocale and adds the official entry for thept_BRmaintainer in theMAINTAINERSfile.Additionally, this version adds
pt_BRsupport to the documentation build script (Documentation/sphinx/translations.py) to ensure proper rendering and fixes the documentation hierarchy to avoid orphan file warnings.
Quoted 8 lines
Quoted 1 line
Signed-off-by Daniel Pereira <[email protected]>The merge window has passed, the floodgates are opened, and I have applied this as the first 7.1-destined docs patch. All looks good, thanks for your patience; I'm sorry that the timing worked out so poorly.
jon
Hi Jon,
Thank you for applying the patch as the first 7.1-destined docs patch! I'm very glad to see the pt_BR structure landing in the mainline.
I appreciate your patience and guidance despite the timing of the merge window. Regarding the next steps, once the "[PATCH] docs: pt_BR:
translate process/changes.rst" is included, I will continue with the translations, as these documents are the foundation for all our future contributions and help establish the standard for the Brazilian community.
Best regards,
Daniel Pereira
Jonathan Corbet
maintainerQuoted 11 lines · Daniel Pereira
Quoted 6 lines
The merge window has passed, the floodgates are opened, and I have applied this as the first 7.1-destined docs patch. All looks good, thanks for your patience; I'm sorry that the timing worked out so poorly.
jon
Hi Jon,
Thank you for applying the patch as the first 7.1-destined docs patch! I'm very glad to see the
pt_BRstructure landing in the mainline.
I did speak just a bit too soon. Your new document included a label at the top:
Quoted 1 line
..
_process_howto:
That duplicates the label in the English version, leading to a build warning:
Quoted 1 line
Documentation/translations/pt_BR/process/howto.rst:6: WARNING: duplicate labelprocess_howto, other instance inDocumentation/process/howto.rst
Bizarrely, this warning doesn't show up until something else is applied later; I'm mystified and will have to track that one down later.
The normal practice when dealing with labels of this type in translations is to add the language code at the beginning - to make it "_pt_process_howto" instead. I have taken the liberty of just applying that fix this time around.
Thanks,
jon