Generate hreflang alternate tags in TYPO3

Here is a quick TypoScript snippet that generates hreflang alternate tags in TYPO3. Take note of the following parameters: special.value: set IDs of languages available, e.g. 0 stdWrap.cObject.value: specify the locale corresponding to special.value, e.g. de-AT stdWrap.typolink.additionalParams: specify the special.value values for each locale set TypoScript code to generate hreflang...