According to the code, it can be disabled, and its seems configurable as to how featureless(featurefull?) you want it to be:
#ifdef QT_NO_TRANSLATION
// Simple versions
const char *, Encoding encoding)
{
#ifndef QT_NO_TEXTCODEC
if (encoding == UnicodeUTF8)
return QString::fromUtf8(sourceText
);
#else
Q_UNUSED(encoding)
#endif
return QString::fromLatin1(sourceText
);
}
#ifdef QT_NO_TRANSLATION
// Simple versions
inline QString QCoreApplication::translate(const char *, const char *sourceText,
const char *, Encoding encoding)
{
#ifndef QT_NO_TEXTCODEC
if (encoding == UnicodeUTF8)
return QString::fromUtf8(sourceText);
#else
Q_UNUSED(encoding)
#endif
return QString::fromLatin1(sourceText);
}
To copy to clipboard, switch view to plain text mode
But, looking at that, it'll just return whatever you pass into it, so maybe it'll "just work" after all.
Bookmarks