Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vHJDp-003KH7-Ku for pgsql-translators@arkaria.postgresql.org; Fri, 07 Nov 2025 09:57:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1vHJDm-00DXYk-54 for pgsql-translators@arkaria.postgresql.org; Fri, 07 Nov 2025 09:57:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vHJDl-00DXYc-Oq for pgsql-translators@lists.postgresql.org; Fri, 07 Nov 2025 09:57:29 +0000 Received: from fhigh-a8-smtp.messagingengine.com ([103.168.172.159]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1vHJDj-005t0Z-28 for pgsql-translators@postgresql.org; Fri, 07 Nov 2025 09:57:28 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 6B04414001AF; Fri, 7 Nov 2025 04:57:26 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Fri, 07 Nov 2025 04:57:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm1; t=1762509446; x= 1762595846; bh=9tMalP9rH9ZQatFOEJjX4ZobjjKTGLtFHcqeMcIDRbc=; b=a d3xrvLid2ti6C47CKGKEQPSQLgnzEMePb35Yh8Kx8zIWHbPIcoTmvJTTKy+3Sd1l 1IMz52Fz9tFWYqtqd8+CsYKABpAwLEvi+1re1DFfdms/kHhVBeYXRZHLfWnrOoId sExTShDi8Nuxx9Ps7fdWWf1IgzI9r1pqeSPUpnnKWtGIvTwhZCgKMjb4DYMYYZ6V fs1TN6Vo4vcfcY3lqy6R40sCkaURkqX5GKUO4Aq8GDH3C2jy945lS8EDlslP5LDd 5vM2VIM04jbLGitTxRQu1AAbLIrVLvvogNAn00acglXZVIGpG32ns0+PhnPZfwwh XM3B1l7tKbIUoA6MCGbKw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1762509446; x=1762595846; bh=9 tMalP9rH9ZQatFOEJjX4ZobjjKTGLtFHcqeMcIDRbc=; b=NIexJqNw1KrDipWH6 pBIrZbISW1ucTfi34knwwj5jVX9qPXYrwOIhXNtDg2Z/ita73iLL97mHwU4kJXNF 9XWsN8JFBGilrdRJGK5T0iulBAAFz73k9rNnLKhdaXyyKhKbxKOGeJKyT3fZq0q+ MaxuWpZGgF4boRTTNn0kRtZUBPqKhDANfj1qmB5Mzf5SdFLgfGJKvc/dMCQBTe2S T2dHbzUhKfB8EiCMap7/hRdtxnlxn7NOoxSgTWFSrTZZwCCrKqW/oCKwHcYrxlPS i1FjjO5N7MKzWCsjnn4166u7orBV0kcm5xlFjUB+5Kk3Wh8QlJJ3R65qA1rq1/TL NVxSA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddukeelfeeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheplmhlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvqeenucggtf frrghtthgvrhhnpeetuedvheffkeevgfeuheevteevkefggedttdeufeeuheduuddthfef fffhjeefffenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgv sehkuhhrihhlvghmuhdruggvpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpoh huthdprhgtphhtthhopehpvghtvghrsegvihhsvghnthhrrghuthdrohhrghdprhgtphht thhopehpghhsqhhlqdhtrhgrnhhslhgrthhorhhssehpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 7 Nov 2025 04:57:25 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1762509443; bh=VmZotmsB/5+q280atQcGty49sPGwfkIlOb3HaFpRY0s=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=oWNQmbe/gIq5Ml6HRGcAcTJGPfzmt6nUbDMpkwRCyqOWgT2lXOs7g+ayId8pk3NQd Ggq/8CSVAV5oEk/2fLjh0YODKk2BdtxtFk5l67aZmS7CQjlblyORj1sxxv/6LR+/ef 9QxYkpFZ9ZoZUU4EXu+kPwhQ7ZKJygDjkiRq8JbpzwIPkDxfN+tt8qbA3U9D16E2Jf lpbtamBHFHJQ/4UxAPPq2Cgcum/zuGPWhixZ6g9nyZEGjHgEU+v2B2ic/4vtDjBlKS MzEGxXV9QX626/dACUfMtk1TEkgrnUb4JRodF/zD1ZT/2hdVqCnC8bK2uqHitlrGu4 6fELXTlEnf/WQ== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id CB6CD76; Fri, 07 Nov 2025 11:57:23 +0200 (EET) Date: Fri, 7 Nov 2025 10:57:23 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Peter Eisentraut Cc: "pgsql-translators@postgresql.org" Subject: Re: translator comments for GUC descriptions useful? Message-ID: <202511070940.qinrfzz3gdff@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1a89b3f0-e588-41ef-b712-aba766143cad@eisentraut.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Nov-07, Peter Eisentraut wrote: > One random idea I had is that we could automatically generate "translator" > comments on the short and long description strings of GUC parameters. So > the PO entries could then look like this: > > #. translator: GUC huge_pages_status short description > #: utils/misc/guc_tables.c:5020 > msgid "Indicates the status of huge pages." > msgstr "" I like this -- yes, please. > I suppose the only possible disadvantage is that it would use more vertical > space. I don't think this is a problem. Translators are likely using GUI software (at least those that aren't using Vim or Emacs). > (Any related ideas while we're here?) Maybe extract each GUC name and grep all errmsg/errdetail/errhint strings to make sure the name isn't used verbatim (but only via %s expansion). (Not really sure to what extent this idea is related to yours, but it's what I got while looking at guc_parameters.dat.) -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/