added translate for label type