call set_language before QApplication. fixes #400