On Sun, Aug 12, 2012 at 10:12 PM, Andy Pintar <[email protected]> wrote: [...] >> My frustrations with C. If I have error messages in English, my variables >> may be in a,b,c sequence. If I switch languages, they would be in a,c,b >> sequence or even c,a,b sequence. this grammer language dependent >> (english, >> french, spanish) problems appears addressed with C++ or is it? > > That is up to you. If you have error messages that are retrieved depending > on what language your user can understand, you'll probably use an error > handler object of some type. Adding the capacity to re-order messages is up > to the programmer, but is certainly not impossible. Difficulty depends on > the way things were implemented initially. Same goes for a C implementation > though. >
That's what GNU gettext is for, and macros like _(). See http://www.gnu.org/software/gettext/. / Matt _______________________________________________ mlug mailing list [email protected] https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca
