Comment 15 for bug 341015

Revision history for this message
David Planella (dpm) wrote :

I've been given a heads up on this bug, but by reading the previous comments, I'm not sure it's fixed. Could someone give an update on the status?

I explained the background on https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/409785/comments/9 and added another comment on the Python upstream bug about using str.format().

The solution here is that the packages use %-formatting with named arguments (e.g. %(argument) ) to avoid crashes from happening while allowing the languages which require it to discard arguments. If it's not possible to change the code, you should use a workaround in the translation.

If someone could also send a bug report at gettext upstream mentioning the issues with msgfmt I described on the comment from the other bug above, that would also be awesome.