French was a minority language in France until the 20th century. The other languages were basically beaten and shamed out of school children.
The introduction of the radio and the television played a big part in the shift to Italian and French becoming the normal languages for their respective countries over the multitude of regional languages.