Current py3k stage and next steps

timeless timeless at gmail.com
Mon Jun 28 06:37:25 CDT 2010


On Mon, Jun 28, 2010 at 2:30 PM, Nicolas Dumazet <nicdumz at gmail.com> wrote:
> Your specific example will cause some issues to localization team, as
> _ is our gettext wrapper:
> in _("some string %s foo %s bar") % (foo, bar), "some string %s foo %s
> bar" is a key for translators. Splitting the message in three would
> mean having three different messages, thrice more work for them I
> guess?

No. it would break localization.

A localizer might want to do:

"RAB %2$s STRING SOME %1$s OFO"

And this can't be represented if the two %s variables aren't available
in a single string.


More information about the Mercurial-devel mailing list