AW: how to add translations

Heimburg, Anno von Anno.von-Heimburg at ids.de
Wed Dec 8 08:13:25 GMT 2004


Hi Andreas!

>How do I add multi-language support using kdevelop3?

You need to use the proper macros/functions when programming your app. For a KDE app, all translatable strings have to be wrapped in I18N(), e.g.

cout << I18N("Hello, world!") << EOL;

Upon compilation, the proper po files will be created. The QT way fo doing things is a bit different, IIRC. Refer to the doc of the i18n library of your choice for more info.

Greets,
Anno.

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list