wiktionary
ref
Borrowed from German Ludwig, which see for more information. Doublet of Louis.
etymonline
ref
Ludwig
masc. proper name, from Old High German hlud(o)wig, literally "famous in war," from Proto-Germanic *hluda- "heard of, famous" (see loud) + *wiga "war" (see victory). Compare Louis.