How to get a string's translation with the context ignored?
-
Hi
You mean likeQString FriendlyConversation::greeting(int type) { static const char *greeting_strings[] = { QT_TR_NOOP("Hello"), QT_TR_NOOP("Goodbye") }; return tr(greeting_strings[type]); }
http://doc.qt.io/qt-5/i18n-source-translation.html
If they are stored with a context, im not sure its possible to ignore context on fetching as
that would collapse the structure.