Optimize language detection

Found out that the Google Translation API does not bill based on invocations but on amount of characters sent to it. I'm glad I have a billing alert, as I already paid 10$ for translations now, changed the implementation to only send a part of the blog post rather than sending the entire blog post, saving $$$