Automated language translation is a great way to bridge the language barrier, but while the solutions available today will allow you to get the general gist of text written in another language, the results are far from perfect and not suitable for many scenarios. Now myGengo has an API that can help.
Did you know that leraar is a Dutch word? A new API, LangID can help you with those pesky language identification problems. Feed it a string of text and the API returns the name of the language, its ISO code and even an image of the flag for a country that speaks the language (the latter could be a hot-button political issue--watch out). You can choose your output as either XML or browser-friendly JSON. (More details at our LangID API profile.)