[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    AW: how to add translations
From:       "Heimburg, Anno von" <Anno.von-Heimburg () ids ! de>
Date:       2004-12-08 8:13:25
Message-ID: 4A222A6C5F666441ADA28E3EA39743BF01A30497 () hermes ! ids ! de
[Download RAW message or body]


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@kdevelop.org with the \
following body: unsubscribe »your-email-address«


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic