add helper method resource_translation and action_translation