Original:  With years of colonialism, many learned the French language.
Revised:  After years of colonialism, many learned the French language.
Edit intent: fluency