The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .
Probably you can do it by directly altering the config file using the ConfigManager.See here for details: http://wiki.codeblocks.org/index.php?title=Scripting_commands
There is the global "ReplaceMacros" function exposed for that purpose.If you call it with a macro it will provide you with the "translation".