babel icon indicating copy to clipboard operation
babel copied to clipboard

New style python-brace-format translations

Open sassanh opened this issue 9 years ago • 4 comments

Can we have support for python-brace-format translations?

sassanh avatar Jan 18 '16 20:01 sassanh

This seems related to #35, #80. Also of interest: https://github.com/nijel/weblate/issues/345

akx avatar Jan 22 '16 18:01 akx

It may be related but not included in those issues.

sassanh avatar Jan 23 '16 11:01 sassanh

Any progress on this? Would you also consider adding this to babel 2 already if one would create a PR? Even GNU xgettext supports string tagged with f"..."...

septatrix avatar Sep 18 '20 22:09 septatrix

This would still be great to have, to be able to statically and safely lint that translations actually use format placeholders correctly. I see that a PR is open to start getting support for this now, but the project is perhaps currently lacking active maintainers to review it?

stianjensen avatar Apr 09 '24 14:04 stianjensen