[Qt-interest] Translation of text taken from db
Ender EREL
erelender at yahoo.com
Wed Oct 28 11:25:35 CET 2009
Hi folks,
My situation is this: I have a database containing the names of certain
criteria, which have identifier strings. What i want to achieve is when
i take these identifiers from db, i want to translate them using
QTranslator. But since these strings appear nowhere in the code, they
don't come up when i run lupdate. I want to put those strings
out-of-context in the translation file and when they are recieved from
Db, translate them using QObject::tr().
Is there a way to achieve this?
Best Regards.
--
Ender EREL
More information about the Qt-interest-old
mailing list