Pass the host and language to subpages when generating the menu (see #3765)