Are there any good, open source engines out there for detecting what language a text is in, perhaps with a probability metric? One that I can run locally and doesn\'t query
Check out Franc on Github. It's written in JavaScript, so you could use in a browser and maybe in Node too.
franc supports more languages than any other library, or Google; franc is easily forked to support 335 languages; franc is just as fast as the competition.