View unanswered posts | View active topics It is currently Sun Sep 05, 2010 5:24 am

Word of the Day 

English: wheel , Bulgarian: колело , Czech: kolo , Danish: hjul , Dutch: wiel , French: roue , German: rad , Greek: ρόδα , Hungarian: kerék , Italian: ruota , Japanese: 車輪 , Polish: koło , Portuguese: roda , Romanian: roată , Russian: колесо , Slovak: koleso , Spanish: rueda , Swedish: hjul , Turkish: tekerlek





Post new topic Reply to topic  [ 3 posts ] 
Google Translate for .NET 
Author Message
User avatar

Joined: Thu Jul 23, 2009 3:17 pm
Posts: 52
Location: Třinec, Czech Republic
Post Google Translate for .NET
Follows an example on how to use the code implemented in http://code.google.com/p/gtapi/ to easily translate a String in C#, using the Google Translation Service in one of its tens of possible language combinations,


Code:
using System;

using System.Collections.Generic;

using System.Text;

using Google.API;

using Google.API.Translate;

namespace TesteDoGoogleTranslate

{

class Program

{

static void Main(string[] args)

{

System.Console.WriteLine(Translator.Translate(”testando a tradução automática.”, Language.Portuguese, Language.English, TranslateFormat.text));

}

}

}



This test should print the Portuguese phrase ”testando a tradução automática.” as,

“testing the automatic translation.”

Just to note - Do not rely in it, the machine translation is far from perfect - but that can be used as base for more complex projects.


Fri Jul 24, 2009 12:37 pm
Profile WWW

Joined: Wed Jun 30, 2010 5:09 am
Posts: 1
Post Re: Google Translate for .NET
Oh. It's very helpful. Thank you very much!

_________________
Job in USA


Wed Jun 30, 2010 5:20 am
Profile WWW

Joined: Sat Aug 14, 2010 2:54 pm
Posts: 4
Post Re: Google Translate for .NET
It is really a very good tool. It is most popular among the users. Most of the users like to prefer this. It is most accurate and perfect one.

_________________
translation service


Sat Aug 14, 2010 3:15 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron


©2010 Rove Monteux