What about translating the text first, then passing it to QPushButton? Would that work?