Refactor translator, make it translate enum fields as well.