Create Multilingual Installer with Qt IFW

I'm using Qt IFW to create an installer. How can i have control in JS scripts of the translation of everything : custom UI's it easy, strings introduced in JS also, but what about the stuff that Qt IFW brings me ? (buttons, message boxes, e.t.c).