Subject: Re: gettext 0.14+ and libintl_printf issues
To: None <joerg@britannica.bec.de>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 02/07/2006 22:28:00
joerg@britannica.bec.de wrote:
> A solution adopted by the Open Group as extension in the Single Unix
> Specification is to allow positional arguments in the format string, so
> that
> printf(_("%d/%d/%d"), year, month, day);
> would have a translated format string for German as
> "%3$d.%2d.%1d"
"%3$d.%2$d.%1$d" of course.
(Though I can understand this typo very well, as this is awful to type.)
Roland