I want to use this in MacOS

I want to open as a sheet and all Volumes should thatswhy we have used QFileDialog::ShowDirOnly instead of QFileDialog:ontUseNativeDialog .

But This show all Button in English like Ok, Save, Cancel, New Folder etc..

This is Qt's inbuild FileDialog and How we can translate its Button text in French at runtime..


Thanks