Following the end of colonialism , nearly all African countries adopted official languages that originated outside the continent .
Several countries also granted legal recognition to indigenous languages .
Following the end of colonialism , nearly all African countries adopted official languages that originated outside the continent , although several countries also granted legal recognition to indigenous languages .