Re: gettext and t-strings

2026-05-18 Thread Barry
> On 8 May 2026, at 17:47, Tobias Herp wrote: > > f-strings are pretty cool, but they are (by nature) not suitable for > i18n: the placeholders are replaced before the gettext functions can see > them. > AFAICS, we have three options for translatable strings: > > - "$-strings", using the stri

Re: gettext and t-strings

2026-05-18 Thread Mats Wichmann
On 5/18/26 09:49, Barry wrote: Wouldn't it be cool to be able to use the new t-strings as well? (introduced in Python 3.14, PEP 750) >> >> Thanks, >> Tobias Try raising as an idea over at https://discuss.python.org/ where all the python devs hang out. Barry There was actually a thread on i