Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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

Search: