( the kingdom of hungary flourished for over a millennium - making hungarian the dominant language of the carpathian basin - until the kingdom 's lands were split among several countries after world war i : austria , czechoslovakia , romania , yugoslavia and modern hungary . )