Hi to all!
I generate ui_mainwindow.h from form where is all interface. Also I create context menu for tray icon after setupUI():
Qt Code:
  1. MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent),
  2. ui(new Ui::MainWindow), m_signalsIsBlocked(false)
  3. {
  4. ui->setupUi(this);
  5. //........................
  6. //..........................
  7. CreateActions();
  8. //......................
  9. }
  10.  
  11. void MainWindow::CreateActions()
  12. {
  13. minimizeAction = new QAction(QObject::tr("Mi&nimize"), this);
  14. connect(minimizeAction, SIGNAL(triggered()), this, SLOT(on_actionMinimize_triggered()));
  15.  
  16. maximizeAction = new QAction(tr("Ma&ximize"), this);
  17. connect(maximizeAction, SIGNAL(triggered()), this, SLOT(on_actionMaximize_triggered()));
  18.  
  19. restoreAction = new QAction(tr("&Restore"), this);
  20. connect(restoreAction, SIGNAL(triggered()), this, SLOT(on_actionRestore_triggered()));
  21.  
  22. quitAction = new QAction(tr("&Quit"), this);
  23. connect(quitAction, SIGNAL(triggered()), qApp, SLOT(quit()));
  24. }
To copy to clipboard, switch view to plain text mode 
Then I make *.ts by using lupdate, after that translate strings and make *.qm by using lrelease.

Then I add code to main():
Qt Code:
  1. QApplication a(argc, argv);
  2. QTranslator appTrans;
  3. QString langFile(":/i18n/vdynclient_ru_RU.qm"); // Russian translation
  4. appTrans.load(langFile);
  5. a.installTranslator(&appTrans);
To copy to clipboard, switch view to plain text mode 
But I get translated strings only for tray context menu, but not for all interface.
I tried to check translation by:
Qt Code:
  1. QString transl = appTrans.translate("MainContext", "Your E-mail:");
To copy to clipboard, switch view to plain text mode 
And got correct translation, cause one exists, but why isn`t it displayed on the form (every time I see only english words)?
Can anybody help, please?