So.. in C, marking strings with keywords for use with xgettext is pretty straightforward, putting the marks around the quotes, and I've done it with a C program.
printf (_("Not concerned with %s any %d vars and only using %s one mark\n"), var1, var2, var3);
I had trouble finding examples of how to mark keywords around cout statements.
For example:
cout "some" << vars1 << "between" << "vars2" << "and more" << vars3 << endl;
I haven't tried to see what would happen yet if I just put a mark at the beginning and the end of that line, but I have a feeling that wouldn't get me the desired result. I wanted to hear some opinions on it.
Does anyone recommend using a library other than gettext for adding support for translations to C++ programs?
Is there any good reason I shouldn't consider using something like
tinyformat for the C++ program I'm working in?
If anyone knows of a C++ program that already uses gettext, please tell me about it and I can just look to see how it's done. Thanks...