All of lore.kernel.org
 help / color / mirror / Atom feed
From: Weijie Yuan <wy@wyuan.org>
To: Dongliang Mu <dzm91@hust.edu.cn>
Cc: Bruce Song <xiongwei.song@linux.dev>,
	alexs@kernel.org, si.yanteng@linux.dev, corbet@lwn.net,
	skhan@linuxfoundation.org, rdunlap@infradead.org,
	paulmck@kernel.org, linux-doc@vger.kernel.org,
	rcu@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] docs/zh_CN: Add RCU/whatisRCU.rst Chinese translation
Date: Wed, 25 Nov 2026 22:17:52 +0800	[thread overview]
Message-ID: <awbuEAiOpfpfov2b@wyuan.org> (raw)
In-Reply-To: <9d2b25e4-c5a0-4ef0-8698-1a622d05223e@hust.edu.cn>

On Wed, Nov 25, 2026 at 10:00:26PM +0800, Dongliang Mu wrote:
> 
> On 11/25/26 11:43 AM, Weijie Yuan wrote:
> > On Tue, Nov 24, 2026 at 10:23:50PM +0800, Bruce Song wrote:
> > 
> > [...]
> > 
> > > > > +:翻译:
> > > > > +
> > > > > + 宋雄微 Xiongwei Song <xiongwei.song@linux.dev>
> > > > > +
> > > > > +:校译:
> > > > > +
> > > > > +.. _zh_cn_whatisrcu_doc:
> > > > 
> > > > Please double check all the references. If one reference is not referred
> > > > from other places, please remove it in the translation.
> > > Ok, I will do that.
> > Let's make it a rule or instruction, shall we?
> > 
> > I didn't find any specific rules for label usage in doc-guide dir. (only
> > no more top-level label on list) But I suspect there must be unused
> > labels in English docs.
> > 
> > We either:
> > 
> > (1) make it consistent, i.e. keep adding unused labels.
> > 
> > or
> > 
> > (2) check usused labels and do not create new labels for it.
> > 
> > 1 may be easier for manual translating jobs that you don't need to check
> > every label manually. You just need to add a '_zh' before each original
> > label. But apparently this will create tons of unused labels. So, no?
> > 
> > 2 may costs more attention, but I guess agents could handle this
> > nowadays with proper prompts.
> 
> 
> I prefer this solution for some reasons:
> 
> 1. If I understand correctly, Jon asked us not to add useless labels in the
> translations.

Yes, true.

> 2. The labels in original English documents may be invalid, we should
> not inherit them blindly. Only if you find some place refers to this label,
> you can add it to our translation.

True. So I also hope that the English documentation includes a note (if
there's no such): do not add unnecessary labels. This way, our new
translations will not be added in correspondence with them.

I will also try to troubleshoot unused labels in English articles when I
have time. Sadly, Sphinx does not print out warnings for this, so I have
to grep them.

> > I forgot to mention this thing in Daniel's series [*], shall we mention
> > this now, or send a RFC patch after they get merged?
> 
> If it is not merged, comment now.

Sure, will draft soon. It is expected that his series will not be merged
quickly.

Thanks.

> > And also, add a rule for English docs that _do_not_ write a label which
> > is not used? This will make our job easier.
> > 
> > [*] https://lore.kernel.org/linux-doc/20261119041009.63651-1-danielmaraboo@gmail.com/


  reply	other threads:[~2026-11-25 14:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-18 13:16 [PATCH v2 0/2] Add RCU docs Chinese translation xiongwei.song
2026-11-18 13:16 ` [PATCH v2 1/2] docs/zh_CN: Add RCU/index.rst translation xiongwei.song
2026-11-18 13:16 ` [PATCH v2 2/2] docs/zh_CN: Add RCU/whatisRCU.rst Chinese translation xiongwei.song
2026-11-23 14:35   ` Dongliang Mu
2026-11-24 14:23     ` Bruce Song
2026-11-25  3:43       ` Weijie Yuan
2026-11-25 13:14         ` Bruce Song
2026-11-25 13:25           ` Weijie Yuan
2026-11-25 13:39           ` Weijie Yuan
2026-11-25 14:00         ` Dongliang Mu
2026-11-25 14:17           ` Weijie Yuan [this message]
2026-11-25 13:49       ` Dongliang Mu
2026-11-25 14:09         ` Bruce Song
2026-11-23 13:09 ` [PATCH v2 0/2] Add RCU docs " Bruce Song

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=awbuEAiOpfpfov2b@wyuan.org \
    --to=wy@wyuan.org \
    --cc=alexs@kernel.org \
    --cc=corbet@lwn.net \
    --cc=dzm91@hust.edu.cn \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@kernel.org \
    --cc=rcu@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=si.yanteng@linux.dev \
    --cc=skhan@linuxfoundation.org \
    --cc=xiongwei.song@linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.