[Python-ideas] PEP 501 - i18n with marked strings
Sven R. Kunze
srkunze at mail.de
Tue Aug 11 19:12:49 CEST 2015
I actually thought this was about a two-step process using lazy evaluation.
This way {name:i18n} or {name:later} basically marks lazy evaluation.
But as it seems, i'...' is more supposed to do all (translation +
formatting) of this at once. My fault, sorry.
On 11.08.2015 10:35, Petr Viktorin wrote:
> On Tue, Aug 11, 2015 at 9:36 AM, Sven R. Kunze <srkunze at mail.de> wrote:
>> Also bare with me but couldn't i18n not just be another format spec?
>>
>> i'Hello there, {name:i18n} {age}.'
> Usually it's not the substitutions that you need to translate, but the
> surrounding text.
More information about the Python-ideas
mailing list