Generate a mutually pointing hreflang tag set and an x-default fallback from a page URL and language-region codes.
Hreflang requires reciprocal pointing: every language version must include tags pointing to the others. If only the main page declares the set and the language pages do not point back, search engines may ignore the whole declaration.