I've been working on a tool for reviewing translatable (and non-translatable) strings in C++ code, in particular wxWidgets code. If you would like to check it out, it's here:
https://github.com/Blake-Madden/i18n-check
Basically, it looks for strings inside of _() and makes sure they probably are something meant to be translated. It also looks for strings not inside of _() and complains if it looks like something that should be translatable. Finally, it looks for wxT() and recommends that you remove it.
I tried to make the command line and output similar to cppcheck in case that helps.
I'm still training and experimenting with the "not translatable but should be" issues, so any feedback is certainly welcome.
i18n analysis tool (for wxWidgets code)
Re: i18n analysis tool (for wxWidgets code)
Nice tool.
But can you add a simple test cpp file and a simple step by step tutorial in your project home page? I am not sure how it can handle something. Thanks.
But can you add a simple test cpp file and a simple step by step tutorial in your project home page? I am not sure how it can handle something. Thanks.