move translation to init hook