Hacker News new | past | comments | ask | show | jobs | submit login

I suggest you read the PEP, there is a section on i18n. Short version is it's not designed for this use case.

As for variables and arbitrary code/lambdas, yes: t-strings can do that, just like f-strings




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: