Complex sentence: Portuguese is the official national language, and thus the primary language taught in schools, but English and Spanish are part of the official high school curriculum.
Split into simpler sentences: Portuguese is the official national language, and thus the primary language taught in schools. But English and Spanish are part of the official high school curriculum.