An automatic rtl/ltr extension for less-middleware