parse alt lang properly