fix language selector of a slashed URI