As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
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".