Linux Documentation
 help / color / mirror / Atom feed
From: Weijie Yuan <wy@wyuan.org>
To: Daniel Pereira <danielmaraboo@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>, Alex Shi <alexs@kernel.org>,
	Yanteng Si <si.yanteng@linux.dev>,
	Dongliang Mu <dzm91@hust.edu.cn>,
	Chen-Yu Yeh <chenyou910331@gmail.com>,
	Federico Vaga <federico.vaga@vaga.pv.it>,
	Akira Yokosawa <akiyks@gmail.com>,
	Carlos Bilbao <carlos.bilbao@kernel.org>,
	Jani Nikula <jani.nikula@linux.intel.com>,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 1/2] docs: doc-guide: add a guide for translators
Date: Mon, 23 Nov 2026 21:41:56 +0800	[thread overview]
Message-ID: <awRCpJIjpKMbA2J5@wyuan.org> (raw)
In-Reply-To: <20261119041009.63651-2-danielmaraboo@gmail.com>

On Thu, Nov 19, 2026 at 01:10:08AM -0300, Daniel Pereira wrote:
> The documentation has seven translations, but nothing in the English
> documentation explains how to contribute to them. The only guide that
> exists, Documentation/translations/zh_CN/how-to.rst, is written in
> Chinese and covers the zh_CN translation only.
> 
> As a result, the same problems come up over and over in the review of
> translation patches: labels and citations copied from the original,
> which are global in Sphinx and collide with the English ones; partial
> builds with SPHINXDIRS that hide those collisions; lines over 80
> columns; translations not added to any toctree; missing commit
> descriptions, tags separated by blank lines, HTML email rejected by the
> lists, and the documentation maintainer left out of the recipients.
> 
> Add Documentation/doc-guide/translations.rst, a guide that covers the
> whole workflow of a translation: choosing what to translate, the layout
> of a translated document (path, header, labels, citations,
> cross-references, what must not be translated), translation quality and
> terminology, adding the document to the build, checking it, preparing
> and sending the patch, the review process, keeping translations up to
> date and starting a new translation. The commit message format it
> suggests is the one already recognized by tools/docs/checktransupdate.py.
> 
> Link the guide from the doc-guide index and from the translations
> index.
> 
> Signed-off-by: Daniel Pereira <danielmaraboo@gmail.com>
> Acked-by: Carlos Bilbao <carlos.bilbao@kernel.org>

Acked-by: Weijie Yuan <wy@wyuan.org>

Thanks!

> ---
> Changes in v3:
> - State the path-mirroring rule explicitly, and exempt documents that
>   exist only in a translation, such as a glossary or a language-specific
>   how-to (Chen-Yu Yeh, Dongliang Mu, Weijie Yuan).
> - Make ":Original:" optional, needed only when the path does not mirror
>   the original, and drop it from the header example (Jani Nikula, Weijie
>   Yuan, Dongliang Mu).
> - Drop the sections that duplicated Documentation/doc-guide/sphinx.rst
>   and Documentation/process/submitting-patches.rst, keeping only the
>   points specific to translations, and link to those documents instead
>   (Federico Vaga, Jonathan Corbet).
> - Encourage translators to send a fix for the English original when they
>   find a problem in it while translating (Jonathan Corbet).
> - Mention b4 as an alternative for preparing and sending a patch series
>   (Weijie Yuan).
> - Drop avadhut.naik@amd.com from the recipients; the address bounced
>   twice on v2.

  parent reply	other threads:[~2026-11-23 13:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19  4:10 [PATCH v3 0/2] docs: add a guide for translators Daniel Pereira
2026-11-19  4:10 ` [PATCH v3 1/2] docs: doc-guide: " Daniel Pereira
2026-11-23 12:19   ` Federico Vaga
2026-11-23 13:35   ` Dongliang Mu
2026-11-23 13:41   ` Weijie Yuan [this message]
2026-11-19  4:10 ` [PATCH v3 2/2] docs: pt_BR: translate doc-guide/translations.rst Daniel Pereira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=awRCpJIjpKMbA2J5@wyuan.org \
    --to=wy@wyuan.org \
    --cc=akiyks@gmail.com \
    --cc=alexs@kernel.org \
    --cc=carlos.bilbao@kernel.org \
    --cc=chenyou910331@gmail.com \
    --cc=corbet@lwn.net \
    --cc=danielmaraboo@gmail.com \
    --cc=dzm91@hust.edu.cn \
    --cc=federico.vaga@vaga.pv.it \
    --cc=jani.nikula@linux.intel.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=si.yanteng@linux.dev \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox