[Python-ideas] Gettext syntax (was Re: Allow "assigning" to ...)

Terry Reedy tjreedy at udel.edu
Tue Feb 17 06:19:17 CET 2015


On 2/13/2015 11:26 AM, Barry Warsaw wrote:
> On Feb 12, 2015, at 08:39 PM, Terry Reedy wrote:

>> I18n of existing code would be easier if Tools/i18n had a stringmark.py
>> script that would either mark all strings with _() (or alternative) or
>> interactively let one say yes or no to each.
>
> I'm not sure what you're asking for; do you want something you could point at
> a Python file and it would rewrite it after interactively asking for
> translatability or not?

Yes.

>  Hmm, maybe that would be cool.  I look forward to the
> contribution. <wink>

If I end up needing to do much marking, I will consider doing so.

-- 
Terry Jan Reedy



More information about the Python-ideas mailing list