Marking translatable strings
Fredrik Lundh
fredrik at pythonware.com
Sat Oct 9 08:53:11 EDT 1999
Florian Weimer <fw at deneb.cygnus.argh.org> wrote:
> > Using ~ instead would probably help with that. It's only a unary
> > operator and not defined for strings either. You'd just have to scan the
> > sources for a ~ immediately followed by a string literal.
>
> What about a t'translated string literal', like r'raw string'?
is it really that hard to write, say,
T('translated string literal') ?
</F>
More information about the Python-list
mailing list