Translation files are shipped with Qt. See $QTDIR/translations/qt_*.ts.
Alternatively you can force those entries to appear in your application's .ts for example with QT_TRANSLATE_NOOP.
Translation files are shipped with Qt. See $QTDIR/translations/qt_*.ts.
Alternatively you can force those entries to appear in your application's .ts for example with QT_TRANSLATE_NOOP.
J-P Nurmi
victor.yacovlev (18th February 2008)
Well, then he couldn't use the convenient static method (which creates an instance of QFileDialog) but he would have to instantiate a custom subclass by hand. Don't you think using built-in translation mechanisms is better anyway than writing custom subclasses for everything you want to translate?
Disclaimer: But of course, when using those static methods of QFileDialog, this approach will only work on X11 because native dialogs are used on Windows and Mac.
J-P Nurmi
Bookmarks