Do not setup language select menu when i18nMetadata isn't available

[#69671508]
Serialize 'lang' and 'i18nMetadata' properties

[#69671508]