Translation of enum codes.