That’s one of the reasons his books are so entertaining. I have (I think...) a couple of paperback books written about T’s work, the Lin Carter one being the better of the two. He discusses how the Elder Edda was the source of a number of T’s character names, including Gandalf, most of the Hobbit’s dwarves, as well as the three backstory dwarves mentioned in Balin’s diary (as it turns out, Carter didn’t notice those I guess).
I think I need something old/new to watch, from childhood:
Elder Edda “catalog of dwarves” (start at stanza 10):
https://genius.com/Anonymous-voluspa-annotated
That is a fact. Each ethnic group had their own language and the languages of man tribes were all based on known {European} tongues. Hobbits spoke a language based in Middle English and the Rohirrim spoke based on the older Anglo Saxon, so they had some commonalities that each understood. Of course the dwarves were not 'men', maybe that is why Tolkien moved to the eastern far north and the Eddas.
Gandalf means 'Wand Elf' even though he was not an Elf. I forget why Tolkien decided to do that. In Elvish he was named Mithrandir - the Gray Pilgrim.
It was quite a linguistic exercise to write the Dictionary, took a few years. Of course the Elven tongues were of his own making - and they evolved over the years, adding some extra challenge. Tolkien started writing his 'Tales' around WWI and time changes things.