This post originated from an RSS feed registered with .NET Buzz
by Jason Nadal.
Original Post: Hola Mundo! - A translation service.
Feed Title: Jason Nadal
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/jnadal/Rss.aspx
Feed Description: Restless C#ding
I got the idea of using the google translate page as a web service, and using that service in Speech2Blog. Think about being able to speak and make posts in other languages, or to provide auto-translated RSS feeds (granted this will come with a performance costs, but at a huge gain for accessibility). Here's the first step in the process -- a translation service that interacts with Google's translator.
new ConsoleApplication1.com.restlessdelusions.www.Translate(); Console.WriteLine(t.TranslateEnglishSpanish("Hello world!"));
Note it currently only supports english->spanish, but this will change in the very near future, depracating the existing method (which will be left functional).
Another current limitation that will be fixed with the next revision is text size limits (currently limited to the size Google's textbox allows).