Questions about gdb and gettext

Richard Earnshaw rearnsha@arm.com
Mon Jun 24 05:18:00 GMT 2002


tromey@redhat.com said:
> It isn't always necessary to mark every string in the source.  You can
> also tell the xgettext program that certain functions implicitly
> translate their argument.  So, for instance, we could set things up so
> that the first argument to `warning' and `error' doesn't need any
> special marking. 

How would that save you having to mark the strings?  AFAICT it would just 
mean that you have to mark them with N_() rather than _().

Unless the strings are marked, gettext won't be able to extract them.

R.



More information about the Gdb mailing list