Hi folks,

I am changing language for my application dynamically. The language does get changed, English or German are shown perfectly. It loads corresponding translation files but I have a problem with displaying the chinese and japanese fonts on my target device. When I run my application on Linux machine, it displays all the fonts correctly, but when I run the same program with the Qt Embedded it is not displaying anything for Chinese and Japanese languages.

Here follows the code to load translators:
Qt Code:
  1. void FormMainWindow::changeEvent(QEvent *event)
  2. {
  3. if (event->type() == QEvent::LanguageChange)
  4. retranslateUi(this);
  5. else
  6. QWidget::changeEvent(event);
  7. }
  8.  
  9. void FormMainWindow::on_radioButtonGroup_buttonClicked(int id)
  10. {
  11. switch(id)
  12. {
  13. case 1:
  14. translator.load(":/Language/TestDVR_en");
  15. break;
  16. case 2:
  17. translator.load(":/Language/TestDVR_ch");
  18. break;
  19. case 3:
  20. translator.load(":/Language/TestDVR_jp");
  21. break;
  22. case 4:
  23. translator.load(":/Language/TestDVR_de");
  24. break;
  25. }
  26. qApp->installTranslator(&translator);
  27. }
To copy to clipboard, switch view to plain text mode 

The complete trolltech folder is deployed on /usr/local/Trolltech on my target device and application links to the same. QTDIR/lib/fonts directory on my desktop (where I develop and it is running fine) and on my target device (Qt for embedded linux) seems to be the same. I am not sure if I have to deploy some font file and load it using qApp->setFont() or do something else. I have googled a lot and searched through QtCentre forums as well.

Please provide me with some pointers. Thanks in advance.

Regards,
Manoj