move translation to model