Am 01.12.20 um 19:40 schrieb Dieter Maurer:
Usually, the translation machinery has special ways to provide parameters for translations. For example with `zope.i18nmessageid`, you can use `_(msg, mapping=<parameter_dict>)` to provide parameters to the translations -- as in your case `count`). Check, what parameter support your translation machinery support.
Thanks for this hint. I'm using the stdlib, which AFAIU does not support that. (Anyhow it would be easy to implement such a wrapper)
-- Regards Hartmut Goebel | Hartmut Goebel | h.goe...@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | -- https://mail.python.org/mailman/listinfo/python-list