bcsf10m011 / google-api-for-dotnet

Automatically exported from code.google.com/p/google-api-for-dotnet
0 stars 0 forks source link

invalid translation language pair #89

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. i download GoogleTranslateAPI_0.3
2. and write the code
3. im client As Google.API.Translate.TranslateClient = New 
Google.API.Translate.TranslateClient("")

        Dim FromLanguageGoogle As Google.API.Translate.Language
        Dim ToLanguageGoogle As Google.API.Translate.Language

        FromLanguageGoogle = Google.API.Translate.Language.English
        ToLanguageGoogle = Google.API.Translate.Language.Bengali

        client.ApiKey = GoogleApiKey

        Dim TranslatedString As String = client.Translate(text, FromLanguageGoogle, ToLanguageGoogle, Google.API.Translate.TranslateFormat.Text)

What is the expected output? What do you see instead?
i expected bangla language translate, but it's show "[response 
status:400]invalid translation language pair"

What version of the product are you using? On what operating system?
GoogleTranslateAPI_0.3  windows 7

Please provide any additional information below.

but all language translate accept bangali

Original issue reported on code.google.com by draliala...@gmail.com on 20 Sep 2011 at 7:02