Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4050808
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:06:57+00:00 2026-05-20T14:06:57+00:00

working on an old translation sample code for windows phone 7. Recently, I have

  • 0

working on an old translation sample code for windows phone 7.

Recently, I have downloaded the LanguageServiceClient or translator Api from this
http://api.microsofttranslator.com/V2/Soap.svc in my project.

I notice there is a change in the method for TranslateAsync

use this old method calling this method in my page

_proxy.TranslateAsync(APP_ID, txtInput.Text, from.Code, to.Code);

This throw error message:

No overload for method ‘TranslateAsync’ takes 4 arguments

I discovered in the old sample code, it has:

Old Signature Existed in Old Sample Code:

public void TranslateAsync(string appId, string text, string from, string to) {
    this.TranslateAsync(appId, text, from, to, null);

BUT the new signature in this RECENT Translator api is this :

 public void TranslateAsync(string appId, string text, string from, string to, string contentType, string category) {
     this.TranslateAsync(appId, text, from, to, contentType, category, null);
 }

How Do I use this New Signature? What are contentTye, category ? Where can I get these info or sample code that use these?

Please help. Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T14:06:58+00:00Added an answer on May 20, 2026 at 2:06 pm

    The developer center for the Microsoft Translator service is here: http://www.microsofttranslator.com/dev/ which gives the documentation being located here: http://msdn.microsoft.com/en-us/library/ff512423.aspx. The documentation for the Translate method indicates that the contentType parameter is used to specify the format of the supplied content and accepts the values “text/plain” or “text/html”. If you specify HTML, then the HTML must be well-formed. The category parameter supports a single value: general.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just been re-working an old bit of compiler-like code written using bison.
This is more of best practice question. I'm working with old Java code at
I am working on an old VB6 app and have recently added the Siemens
New to php .I'm working on an old code in which I have to
I've been tasked with getting some old code working. It's dated from 2006 and
I recently acquired this book from Microsoft Press. I currently have Office Enterprise 2007
I am working with old ASP code and I am not sure about semantics
I'm working on old code that relies heavily on the exception specifications behavior described
I'm working with some old PHP code that has a lot of the following:
I am working on an old database I inherited from my predecessors. In it,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.