Automatically generate translations in Qt.