Qt id based translation
Unsolved
General and Desktop
-
Hi @Valerian,
You should be able to use QCoreApplication::translate directly to translate for any "context" (eg class name), regardless of whether or not its a Qt-based class. Though I'm not sure how that would work with Qt Linguist tools such as
lupdate
.Cheers.
-
Is there a way to use qtTrId() to translate string?
I don't see any reason why not, but I'm not at all familiar with Qt Linguist's Text ID Based Translations.
I did notice this though:
Note: You must use only plain-text-based or only text-ID-based functions in one application. If you mix them, you will end up with an incomplete set of texts to be translated.
Cheers.