Fix language substring