It should be able to work, have you ensured that you added the codes to the messages.properties file and defined it in your config.xml file?