This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gettext and argp


  Hi,

On Sat, Mar 07, 2009 at 02:50:53PM -0500, Dave Kok wrote:
> I am writing a program using both gettext and argp. From what I understand
> from the glibc manual is that you should be able to set the text domain
> that argp uses internally by assigning a value to argp_domain in the
> struct argp which I think should be "libc". However this doesn't seem to
> trigger the translation of the argp internal messages. Only by setting the
> default textdomain to libc will it translate its own messages. However in
> that case my messages don't get translated.
> 
> Is this a bug or do I misunderstand? If so how do I get argp to use the
> libc textdomain for its own messages and my textdomain for my messages?

  can you provide a self-contained testcase?

				Petr "Pasky" Baudis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]