Comment 4 for bug 730499

Revision history for this message
Aurélien Gâteau (agateau) wrote :

> * Would there not be another way to override
> "QTranslator::translate ( const char * context, const char *
> sourceText, const char * disambiguation, int n ) const" by a
> call to the ngettext function form gettext?

No, that's not possible because this method is not virtual, so we can't override it.

As for KDE using gettext with Qt code, the main difference is that KDE default translation system is gettext, not Qt. They do have a way to redirect code using Qt translation system to gettext but the vast majority of KDE translations are handled by gettext. I would need to investigate but I am pretty sure KDE redirect code does not handle plural forms as well.