I have a translation problem in my application.
In the main i'm setting the language in this way:

Qt Code:
  1. QApplication app ( argc, argv );
  2. QTranslator translator;
  3. translator.load ( "/home/mattia/workspace/myProject/translations/trm_it" );
  4. app.installTranslator ( &translator );
  5. ......
To copy to clipboard, switch view to plain text mode 

If i want to set as default language "en" i have to do:
Qt Code:
  1. translator.load ( "/home/mattia/workspace/myProject/translations/trm_en" );
To copy to clipboard, switch view to plain text mode 
and it is correctly loaded, when i'm at runtime i want to change the language and i made a dialog widget to allow the user to insert a language, for example "en", but i don't know how performe the change language at runtime.
Is it possible do it?
Thanks