public inbox for [email protected]  
help / color / mirror / Atom feed
From: Alvaro Herrera <[email protected]>
To: Temuri Doghonadze <[email protected]>
Cc: Peter Eisentraut <[email protected]>
Cc: [email protected]
Subject: Re: Georgian translation - initial
Date: Fri, 8 Jul 2022 21:54:45 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAJapyA_bd5yZjmu5WNVSmxcPRu7mLd2o4SYBCQZL02bDxtNDRw@mail.gmail.com>

On 2022-Jul-08, Temuri Doghonadze wrote:

> Quick question. How does it work with different types of output? Is
> %Ns for "%s" only or does it apply to all kind of printf output?

It applies to all of them.  You need to match the type used for each
argument.  This is probably documented somewhere ... ah, right:
https://www.postgresql.org/docs/15/nls-translator.html#id-1.10.7.2.6

Also, I think if you use the $ designator for any argument in a message,
then all arguments have to use it in that message.  This appears in the
printf(3) manpage, at least glibc's.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/





view thread (41+ messages)  latest in thread

reply

Reply instructions:

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

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Georgian translation - initial
  In-Reply-To: <[email protected]>

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

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox