Languages of Catalonia
The main cause of Spanish and Catalan social bilingualism in modern Catalonia was large-scale migration from the rest of Spain during the 20th century, as Catalonia started a significant industrialization which demanded an increased workforce from elsewhere. Spanish has historically been spoken among a minority of civil servants born in other regions in Spain and among segments of the wealthiest bourgeoisie. Spanish has also been spoken as a second language by most Catalans, as it has been the only official language over long periods since the eighteenth century.
Catalan language
Since the Spanish transition to democracy (1975–1982), Catalan has been institutionalizated as an official language, language of education, and language of mass media; all of which have contributed to its increased prestige. In Catalonia, there is an unparalleled large bilingual European non-state speech community. The teaching of Catalan is mandatory in all schools, but it is possible to use Spanish for studying in the public education system of Catalonia in two situations – if the teacher assigned to a class chooses to use Spanish, or during the learning process of one or more recently arrived immigrant students. There is also some intergenerational shift towards Catalan.