Add language attribute to template engines