Complex sentence: When the railroad was to come through the region, the town was moved to its current location to be on the railroad, hence the name Allendale, named after a railroad man named Allen.
Split into simpler sentences: When the railroad was to come through the region, the town was moved to its current location to be on the railroad. This is where the town got the name Allendale, named after a railroad man named Allen.