Added ability to localize the actions api. Only handles errors at the minute, but thats all you will probably need.

Signed-off-by: Tom Green <kingofcuddles@gmail.com>