Added language detection feature, and catch the 'error 400 - Bad Request...

Added language detection feature, and catch the (error 400 - Bad Request), returned in some cases by the Microsoft server.