add tranlsation detection use in loop and set