Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QFileDialog being translated
steno last edited by
I'm running Mac os x 10.8 with the native language of english.
I preform the following.
QString fileName = QFileDialog::getSaveFileName(this, "Save As",docsPath,"*.txt");
I thought you couldn't translate native dialogs; however, the following code has spanish for the save button. Nothing else is in spanish. Is this a bug, or can we translate native dialogs?
alexisdm last edited by
The text of that button is only translated because it is set by Qt to tr("&Save") with NSSavePanel::setPrompt.
dexter last edited by
Noticed this feature if you are going build from *.pro then okay, but if you are going build using CMake will be partially translated dialogue. Can this be fixed?