I'm in process of adding localization to a C++ app. Currently, it has hundreds of texts as string literals scattered all over the (sizeable) code, either printing stuff out, or logging it, or pushing to whichever interface. I'll need to replace great most of them with calls to library functions that replace them with localized versions. (some string literals stay, used as map keys, or such, not subject to localization).
Currently, I'm working with a global search for the double quote mark, "
which kinda works, but isn't very comfortable (especially catching all the #include
s.)
Is there a more simple, easy approach to finding all the string literals in C++ sources? I'm using Eclipse as my IDE, but light-to-moderate "weight" external tools for Windows would be okay too (I have MinGW and Cygwin, so bash etc commands work too). I'd prefer not to require a different heavyweight IDE like Visual Studio or QT.