D&D handles languages poorly, yes . . . it is one of the areas of the game that hasn't got a lot of attention as the game has evolved over the years. It comes down to the concept of "race", which D&D is moving away from, but still has legacy issues remaining.
Germans speak German, Spaniards...