<?xml version="1.0"?>
<data inherit_id="website.language_selector" primary="True">
    <xpath expr="//*[contains(@t-attf-class, 'js_language_selector')]" position="attributes">
        <attribute name="t-attf-class" remove="dropup" separator=" "/>
    </xpath>
    <xpath expr="//*[contains(@t-attf-class, 'dropdown-toggle')]" position="replace"/>
    <xpath expr="//*[@role='menu']" position="attributes">
        <attribute name="t-attf-class" remove="dropdown-menu" add="list-inline" separator=" "/>
    </xpath>
    <xpath expr="//*[contains(@t-attf-class,'dropdown-item')]" position="attributes">
        <attribute name="t-attf-class" remove="dropdown-item" add="list-inline-item" separator=" "/>
    </xpath>
    <xpath expr="//t[@t-foreach='languages']" position="inside">
        <t t-if="not lg_last and not no_text">
            <span class="list-inline-item">|</span>
        </t>
    </xpath>
    <xpath expr="//t[@t-call='website.language_selector_add_language']" position="replace">
        <span class="o_add_language list-inline-item" groups="website.group_website_restricted_editor">|</span>
        <t t-call="website.language_selector_add_language">
            <t t-set="dropdown" t-value="False"/>
        </t>
    </xpath>
<xpath expr="." position="attributes"><attribute name="t-name">website.language_selector_inline</attribute></xpath></data>

