lang_direction smarty variable added