[Merge] lp:~songofacandy/bzr/i18n into lp:bzr

Vincent Ladeuil v.ladeuil+lp at free.fr
Tue May 10 18:00:56 UTC 2011


(forwarding to the list instead while keeping Daniel in CC so the
discussion occurs in a more appropriate place).
>>>>> Alexander Belchenko  writes:

<snip/>

    > What's intltool? That's one: https://launchpad.net/intltool ?
    > Is it work on Windows? Mac?

Does it have to ?

May be we can provide the resources needed by the installers without
requiring the toolchain to run on all supported platforms ?

(I thought about that for the doc itself which could also be produced
once and re-used by the installers (I may be wrong for some windows
specific formats, but that would still reduce the work needed to build
an installer).

<snip/>

    > Because _ has special meaning in PDB. Why does it matter?

Given all the comments received on this topic I've started to wonder if
we shouldn't revisit it.

We *did* encounter issues when we first started to use gettext for
bzr-gtk and at this time gettext was exporting '_' in a way that was
causing troubles. I can't remember the details right now but roughly the
issue was that using '_' as a no-name variable anywhere was overriding
gettext '_' definition so the next use of '_' (in a totally different
scope) was suddenly broken.

But is still the case for recent versions of gettext and python ?

If using '_' for l10n is the most common practice in python projects we
may want to adopt it (if only because some tools may work better in this
case (wild guess)).

       Vincent



More information about the bazaar mailing list