Added code to detect the language of the blog.