Why is New Caledonia a french speaking country?

New Caledonia is not a French-speaking country, although French is the official language. The most widely spoken language in New Caledonia is Melanesian-Pidgin, a French-based creole language.
Copyright Wanderlust World © https://www.ynyoo.com