Translate task moved in separate ts file as class