change edit way and translate