Lawmakers in New Zealand have passed a bill to make English one of the country’s official languages.