add automatic language recognition