[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian coding style?

Previously Ben Pfaff wrote:
>    22. Localization: text which will be visible to the user should never be
>    embedded within the source code. All string literals should be placed in a
>    separate header file to ease the pain of possible future translation.
> That is not the Unix style.  Unix is a multi-user OS, and users expect
> to be able to choose their preferred language at runtime.  Using the
> above technique would force the program to be recompiled to change the
> language choice.

That is a *very* important point, and I think you're the first to 
realize this.

Basically the motto is: use gettext, unless you have a *VERY* good
reason not to, and even then think twice.


This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wichert@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: pgpnDgbKgEq8b.pgp
Description: PGP signature

Reply to: