def tml_style_attribute_tag(attr_name = 'float', default = 'right', lang = tml_current_language)
      return "#{attr_name}:#{default}".html_safe if Tml.config.disabled?
      "#{attr_name}:#{lang.align(default)}".html_safe
    end
def tml_style_attribute_tag(attr_name = 'float', default = 'right', lang = tml_current_language)
      return "#{attr_name}:#{default}".html_safe if Tml.config.disabled?
      "#{attr_name}:#{lang.align(default)}".html_safe
    end
Language Direction Support

 switches CSS positions based on the language direction
 <%= tml_style_attribute_tag('float', 'right') %> => "float: right" : "float: left"
 <%= tml_style_attribute_tag('align', 'right') %> => "align: right" : "align: left"