Question: What was Serbo-Croatian the official language for in the 20th century?
Sentence: In the 20th century, Serbo-Croatian served as the official language of the Kingdom of Yugoslavia (when it was called "Serbo-Croato-Slovenian"), and later as one of the official languages of the Socialist Federal Republic of Yugoslavia.
Answer in sentence: yes