The quote assumes you don't live in the same town you grew up in (your "hometown"). It suggests that you have missed/longed for your hometown and decided to go back there. However, when you return, you realize that you didn't really miss your hometown. You missed your childhood - it's really your childhood you longed for.
I think it would be something like this in Spanish:
Cuando, finalmente, se vuelve a su ciudad natal, te das cuenta de que no era la antigua casa se ha perdido, pero su infancia