add translator in views