Language and Country are not directly related.
You can't deduce the language just by looking at the country, and viceversa. Because not every country has only one language, and not every language is spoken in only one country. Otherwise you would end up with a canadian flag for French, an australian flag for English, and a spanish flag for Catalan.