Minor bug fix and the addition of smarty use in the language field, useful for mulitlingual sites.