Posts Tagged ‘language’

.NET’s CultureInfo do not support all languages in ISO 639-1

July 4, 2009

When I wanna replace the Language enum in Google translate API for .NET, I found that, there are at two three language that Google supported but .NET Framework not.

The Filipino (tl) or Tagalog;

The Maltese (mt).

And the Hebrew, Google use “iw” as the code for its language api, but .NET and ISO 639 use “he”.

Well, where is the Babel?!

Advertisements

Google Translate API for .NET 0.1 Release!

June 3, 2008

Update 1

Google Translate API for .NET updated to 0.1.1

  • Add more languages.
  • Fixed some bugs.

Download: GoogleTranslateAPI_0.1.1.zip

Now this project is a part of the Google APIs for .NET which include more Google APIs such as Search API etc.

I will never update here anymore.

You can get the latest source code and released files at the Google APIs for .NET.

I’ve just released an updated CLS compatible version of Google Translated API there.

GoogleTranslateAPI_0.1.zip (CLS compatible version)

—————————————–

It’s my first Open Source project.

http://code.google.com/p/google-language-api-for-dotnet/

Provides a simple, unofficial, .NET Framework API for using Google Translate.

Support 20+ languages.

It can translate text or html format, and can detect the language of the given text.

Now implement all the function that google has launched.

Example :

class Example
{
    public static void Main()
    {
        string text = "我喜欢跑步。";
        string translated = Translator.Translate(text, Language.Chinese_Simplified, Language.English);
        Console.WriteLine(translated);
        // I like running.
    }
}

More result:

Arabic صور اداة ترجمة.
Bulgarian Google превежда инструмент.
Chinese Simplified Google翻译工具。
Chinese Traditional Google翻譯工具。
Croatian Google Translate tool.
Czech Google přeloží nástroje.
Danish Google oversætter værktøj.
Dutch Google vertalen tool.
English Google translate tool.
Finnish Google kääntää työkalu.
French Outil de traduction Google.
German Google Translate-Tool.
Greek Google μεταφράζει εργαλείο.
Hindi Google अनुवाद उपकरण है .
Italian Google Translate strumento.
Japanese Google翻訳ツールを使用します。
Korean 구글 번역 도구를합니다.
Norwegian Google Translate.
Polish Narzędzie Google tłumaczyć.
Portuguese Traduz Google ferramenta.
Romanian Google traduce instrument.
Russian Google переводит инструмент.
Spanish Traductor Google herramienta.
Swedish Google översätter verktyg
You can download here:
GoogleTranslateAPI_0.1.zip