Re: local problem in developing GUI

From: Roger Leigh (${roger}_at_invalid.whinlatter.uklinux.net.invalid)
Date: 12/01/04


Date: Wed, 01 Dec 2004 15:19:21 +0000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jianju.ee@polyu.edu.hk (Arron) writes:

> Does that mean I don't have to care about the language problems in the
> final distribution software?

Sorry, but I don't understand the question.

If you are using gettext, all the strings in the program are
transparently translated into the current language at runtime. All
you (as the programmer) need to do is make sure the gettext
infrastructure works, and the required translations (po/*.po) are
distributed and installed correctly.

I highly recommend reading the gettext mannual (info gettext), which
explains exectly what's going on and what you need to do.

Regards,
Roger

- --
Roger Leigh
                Printing on GNU/Linux? http://gimp-print.sourceforge.net/
                Debian GNU/Linux http://www.debian.org/
                GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFBreD2VcFcaSW/uEgRAmeTAJ9bMR6iwXbU4JklCbAMtnuIdnw9QACeK1dZ
qXWLYUpOKYfqWulShJfuVkk=
=Z2AZ
-----END PGP SIGNATURE-----



Relevant Pages

  • Re: GNU gettext
    ... The gettext documentation explains how the keys work. ... translation files, or that you'd need to write a small utility to help ... gettext was desined for plain C, the keys are C strings ... as a developer you have no clue what every language ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: gettext vs custom ways
    ... I've used gettext a while ago, but can't really compare it with other ... extract all translatable strings from the source code to create the ... message files. ...
    (comp.lang.php)
  • Re: language support
    ... You need to use gettext. ... Mark translatable strings in your source using _and N_ ... and manually translate with gettextwhere required. ... This is documented in the GNU gettext and GNU libc manuals. ...
    (comp.os.linux.development.apps)
  • Re: Addition: gettext
    ... translatable strings and translations. ... translations without any messing with resource files. ... One of the best features of gettext is the merging of new and changed ... I don't know how resource files work, ...
    (comp.lang.cpp)
  • gettext vs custom ways
    ... Does anyone here have experience with PHP gettext functions? ... than serializing the language strings into language files and ... each page request and then use the strings kind of like phpBB does ... encode every string before sending it to the template engine. ...
    (comp.lang.php)