This is a very simple project. I know there are already done scripts and classes to do it but I prefer you to develope it simply. What I'm looking for is an simply language autodetection for the example I have uploaded for this project. Follow the code with comments and you'll understand how simple it is. Don't try to execute the code, I have not checked it and there are some missing gaps you'll have to fill and fix.
Please, even if it is simple project to complete in some minutes don't do automatic bids without reading my needs.
Thank you about your time.