Does Qt provide translations for the user visible strings of the widgets?

Qt provides translation files for French, German and Simplified Chinese in $QTDIR/translations. This directory also contains some additional unsupported translations which may be useful, see:

http://doc.qt.nokia.com/internationalization.html

These files contain translations for all of the classes in Qt that contain user visible strings and you can add them to your .pro file and follow the standard translation procedure to use them. In addition Qt provides a template for translating to other languages in qt_untranslated.ts

See the documentation for more information:

http://qt.nokia.com/doc/linguist-programmers.html

In addition we provide the lconvert tool which can be used to create an empty translation file so you can add your own translation for the Qt strings in a language that we don’t provide for. To do this do:

lconvert —drop-translations -o qt_untranslated.ts qt_fr.ts

and then it will give you an empty translation file with the Qt strings ready to be translated.

No comments

Write a comment

Sorry, you must be logged in to post a comment.