it doesn't say that god gave them different languages, merely that he confused their tongues. oh sure it says he scattered them. away from the project maybe. but it is clear enough that 'the face of the earth' in the old testament maybe stretches as far away as india to spain. maybe. the whole world surrounds the mediteranean. hence it's name.
it is a story about a building and the 'stupid' babylonians who built it. it's a pun and a satire.