{"en_US": "<data inherit_id=\"portal.language_selector\">\n    <xpath expr=\"//t[@t-nocache]\" position=\"attributes\">\n        <attribute name=\"t-nocache-flags\">flags</attribute>\n        <attribute name=\"t-nocache-_flag_class\">_flag_class</attribute>\n    </xpath>\n\n    <xpath expr=\"//t[@t-set='active_lang']\" position=\"before\">\n        <t t-if=\"lang not in frontend_languages\">\n            <t t-set=\"lang\" t-value=\"website.default_lang_id.code\"/>\n        </t>\n    </xpath>\n\n    <!-- Add the 'flags' possibility -->\n    <xpath expr=\"//button[contains(@t-attf-class, 'dropdown-toggle')]/span\" position=\"before\">\n        <t t-if=\"flags\" t-call=\"website.lang_flag\">\n            <t t-if=\"no_text and not codes\" t-set=\"flag_lang_alt\" t-value=\"active_lang.name.split('/').pop()\"/>\n            <t t-set=\"flag_image_url\" t-value=\"active_lang.flag_image_url\"/>\n        </t>\n    </xpath>\n    <xpath expr=\"//*[contains(@t-attf-class, 'js_change_lang')]/span\" position=\"before\">\n        <t t-if=\"flags\" t-call=\"website.lang_flag\">\n            <t t-set=\"flag_image_url\" t-value=\"lg.flag_image_url\"/>\n        </t>\n    </xpath>\n</data>"}