Sorry I didn't read the whole thread 
You can use macro "QT_TRANSLATE_NOOP" in any text file and have it parsed for translation by lupdate, it is enough to add the file to the list of "headers" in the .pro file, for example:
// file: test.txt
this is an example of QT_TRANSLATE_NOOP("TextFile","text to translate")
// file: test.txt
this is an example of QT_TRANSLATE_NOOP("TextFile","text to translate")
To copy to clipboard, switch view to plain text mode
// project.pro
...
HEADERS += test.txt
// project.pro
...
HEADERS += test.txt
To copy to clipboard, switch view to plain text mode
String "text to translate" will now be available for translation after running lupdate.
In the app code you can use it after translation:
QString test
= qApp
->translate
( "TextFile",
"text to translate" );
QString test = qApp->translate( "TextFile", "text to translate" );
To copy to clipboard, switch view to plain text mode
Bookmarks