Re: Addition: gettext
From: Roger Leigh (${roger}_at_invalid.whinlatter.uklinux.net.invalid)
Date: 10/31/03
- Next message: David White: "Re: segmenatation fault while allocating memory"
- Previous message: Tim Clacy: "Re: queue, deque, priority_queue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Oct 2003 19:03:52 +0000
Rolf Hemmerling <hemmerling@gmx.net> writes:
> I just learned that there is
> gettext [...]
> if I just wanna have local strings.
>
> Do you like it, is it usual to use it ?
Yes. gettext (libintl) is the de-facto i18n/l10n framework in the
free software world. It's very good, and it's easy to maintain
translatable strings and translations. There are several tools
available for translation work, and end-users can create/edit
translations without any messing with resource files.
One of the best features of gettext is the merging of new and changed
strings with existing translations. Tools such as Emacs po-mode allow
very easy updating of translations.
> But of course, as I wanna support MFC / .NET frameworks, its o.k. to
> look for a common way for accessing ressources with C++ on Windows
> platform.
I don't know how resource files work, so I can't help here. It might
be possible to construct the resource file from the strings extracted
with xgettext. That's a question for a MS group.
> As the mandatory GUI platform ist "QT"
> http://www.trolltech.com/
> , any suggestions ?
There's also Gtkmm, which is well worth investigating. It uses
gettext for i18n. It integrates well with the Standard Library.
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
- Next message: David White: "Re: segmenatation fault while allocating memory"
- Previous message: Tim Clacy: "Re: queue, deque, priority_queue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|