gettext markup of library sources

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Apr 21 19:53:00 GMT 2003


Phil Edwards <phil@jaj.com> writes:

[...]

| > Is this really what you want?  Do you want to throw the translated
| > string?  This seems wasteful.  It means every instantiation has a call
| > to gettext which adds to the code size.
| > 
| > If there is a central place where the strings are used (in the terminate
| > handler?) put the gettext call in there and use __N in the throw calls.
|   
| I tried that first, but they weren't being translated.  Will try again.
| 
| (Gaby will really love you for this one.  Now he has to see __N instead
| of _ everywhere.  *grin*)

I don't mind about __N.  My concern was restated my Ulrich:  Putting the
translation phase in a single place.  

(FWIW, we do that in the compiler diagnostic machinery).

-- Gaby



More information about the Libstdc++ mailing list