Add translation support for action.cpp