This code implements the hreflang alternate tag wich is perfect if you have a magento multistore with different languages and want to push your store in Google.