You seem to not understand dialect vs language.
Spain and Mexico have different dialects of the same language.
Quebec France and Morocco have different dialects of French.
Same goes for Portugal and Brazil
Or even US and UK and Australia.
I think you quoted the wrong guy on accident