I am trying to output ltr/rtl variable lang_direction in qweb tamplate like this:
<xpath expr="//html" position="attributes">
<attribute name="dir"><t t-esc="lang_direction"/></attribute>
</xpath>
This is not working. Is there a way to do it?