lib.hreflang = HMENU
lib.hreflang {
    special = language
    special.value = 1,1,0
    special.normalWhenNoLanguage = 0

    1 = TMENU
    1 {
        NO = 1
        NO {
            stdWrap.cObject = TEXT
            stdWrap.cObject {
                value =  x-default || en || de
            }
            linkWrap = <link rel="alternate" hreflang="|
            doNotLinkIt = 1
            after.cObject = TEXT
            after.cObject {
                stdWrap {
                    wrap = " href="{$const.global.siteProtocol}://{$const.global.siteUrl}|">
                    typolink {
                        parameter.data = page:uid
                        additionalParams = &L=1 || &L=1 || &L=0
                        addQueryString = 1
                        addQueryString.exclude = L,id,cHash,no_cache,gclid,fbclid,email
                        returnLast = url
                    }
                }
            }
            allStdWrap.noTrimWrap (
|
||
            )
        }

        CUR = 1
        CUR {
            doNotShowLink = 1
            doNotLinkIt = 1
        }

        USERDEF1 = 1
        USERDEF1 {
            doNotShowLink = 1
            doNotLinkIt = 1
        }
    }
}

[request.getNormalizedParams().getHttpHost() == 'my.weytec.com' || request.getNormalizedParams().getHttpHost() == 'my.weytec.com.zwei14.website' || request.getNormalizedParams().getHttpHost() == 'my.weytec.com.local']
    lib.hreflang.1.NO.after.cObject.stdWrap.wrap = " href="{$const.my.siteProtocol}://{$const.my.siteUrl}|">
[END]

[request.getNormalizedParams().getHttpHost() == 'www.weytec.com' || request.getNormalizedParams().getHttpHost() == 'www.weytec.com.local']
    lib.hreflang.1.NO.after.cObject.stdWrap.wrap = " href="{$const.com.siteProtocol}://{$const.com.siteUrl}|">
[END]

#[request.getNormalizedParams().getHttpHost() == 'www.weytec.de' || request.getNormalizedParams().getHttpHost() == 'www.weytec.de.local']
#    lib.hreflang.1.NO.after.cObject.stdWrap.wrap = " href="{$const.de.siteProtocol}://{$const.de.siteUrl}|">
#[END]

#[request.getNormalizedParams().getHttpHost() == 'www.weytec.ch' || request.getNormalizedParams().getHttpHost() == 'www.weytec.ch.local']
#    lib.hreflang.1.NO.after.cObject.stdWrap.wrap = " href="{$const.ch.siteProtocol}://{$const.ch.siteUrl}|">
#[END]

#[request.getNormalizedParams().getHttpHost() == 'www.weytec.fr' || request.getNormalizedParams().getHttpHost() == 'www.weytec.fr.local']
#    lib.hreflang.1.NO.after.cObject.stdWrap.wrap = " href="{$const.fr.siteProtocol}://{$const.fr.siteUrl}|">
#[END]

#[request.getNormalizedParams().getHttpHost() == 'www.weytec.it' || request.getNormalizedParams().getHttpHost() == 'www.weytec.it.local']
#    lib.hreflang.1.NO.after.cObject.stdWrap.wrap = " href="{$const.it.siteProtocol}://{$const.it.siteUrl}|">
#[END]

#[request.getNormalizedParams().getHttpHost() == 'www.weytec.ru' || request.getNormalizedParams().getHttpHost() == 'www.weytec.ru.local']
#    lib.hreflang.1.NO.after.cObject.stdWrap.wrap = " href="{$const.ru.siteProtocol}://{$const.ru.siteUrl}|">
#[END]

#[request.getNormalizedParams().getHttpHost() == 'www.weytec.us' || request.getNormalizedParams().getHttpHost() == 'www.weytec.us.local']
#    lib.hreflang.1.NO.after.cObject.stdWrap.wrap = " href="{$const.us.siteProtocol}://{$const.us.siteUrl}|">
#[END]

#[request.getNormalizedParams().getHttpHost() == 'www.weytec.co.uk' || request.getNormalizedParams().getHttpHost() == 'www.weytec.co.uk.local']
#    lib.hreflang.1.NO.after.cObject.stdWrap.wrap = " href="{$const.co.uk.siteProtocol}://{$const.co.uk.siteUrl}|">
#[END]

#[request.getNormalizedParams().getHttpHost() == 'www.weytec.asia' || request.getNormalizedParams().getHttpHost() == 'www.weytec.asia.local']
#    lib.hreflang.1.NO.after.cObject.stdWrap.wrap = " href="{$const.asia.siteProtocol}://{$const.asia.siteUrl}|">
#[END]
