Marking translatable strings
Florian Weimer
fw at deneb.cygnus.argh.org
Sat Oct 9 11:21:01 EDT 1999
"Fredrik Lundh" <fredrik at pythonware.com> writes:
> 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') ?
T('...') could mean anything, not only string translation. Perhaps
something entirely new should be chosen to help automatic processing.
More information about the Python-list
mailing list