[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using gettext for libraries
From: |
Andrew Clausen |
Subject: |
Re: using gettext for libraries |
Date: |
Wed, 03 Jan 2001 17:29:28 -0200 |
Hi,
Petr Vandrovec wrote:
> You should use bindtextdomain, dgettext, and eventually
> dcgettext, dngettext, dcngettext and bind_textdomain_codeset. Forget
> about gettext, ngettext and other domain-less functions.
Thanks.
> > So, why is there always exactly one domain active?
>
> Because of it is convient for programs. Libraries must always use
> dgettext(), as does libc or other correctly internationalized libraries.
Why not have allow an arbitary number of domains? Worried about
collisions?
Andrew Clausen