On 02/06/2015 14:56, Daniel P. Berrange wrote: > In my work on TLS encryption, I've been blindly adding gettext markers > around all error messages I raise. eg error_setg(errp, _("foo bar")); > I've done this out of habit, since most apps I work on translate all > strings that could end up visible by a user. > > Looking again at existing QEMU codebase though, I notice that adding > gettext _("...") markers is the exception, not the rule.
I think that _("...") markers should remain the exceptions. However, we could autoextract for example error_setg/error_setg_errno's message arguments into PO files. Paolo