Translating for fun and... fun...

Sign in to queue


Our world is a pretty small place and getting smaller. As a developer, I'd like to make it easier for my users to use my apps, to speak to them in their own language, so to speak.

But that's hard. Getting someone to translate your app, web page, etc can be a pain. And while the community has jumped in in many cases to help out some projects, that's still a hit or miss kind of thing.

That's why I wanted to highlight the Microsoft Translator and show you a couple ways it could be used...

Microsoft Translator - Developer Offerings

Translation is a tool, not a destination. Following up on this philosophy, Microsoft Translator developer offerings provide developers a wide spectrum of translation and language APIs for integration into their applications and services. ...


So okay, we have an API. Next? How can this help me, the "do I code or do I sleep" developer?

How about using this service, in part, to automatically translate your Resource files?

RESX Translator with Bing


This project is a .net Windows Form/Console Application that allows automatic translation of RESX files using Bing's translation web services.

This is a good example of how to use Bing web services and how to work with RESX files.


Lets say we start with Resource file with English strings;


Now, let's translate this into Russian...





And of course you get all the source to see how it's all done...


NOTE: To use this project you'll need to sign up, for free, your own AppID from which is really quick and easy;


Once you've got your AppID, you can use the API in your own, non-commercial, apps, in the RESX Translator with Bing, etc.

For example, just because I could and thought the API call "Speak" was interesting ("Returns a string which is a URL to a wave stream of the passed-in text being spoken in the desired language") I knocked some throw away code to play with it...


And that's it (plus a Service Reference to )

What's hilarious is that there's an accent with each language. That if you feed it an English phrase and you set the language to French ("fr") you'll get it back as English, but with a French accent! Not sure if that's an easter egg, but it's pretty funny.


If you just want to play with it a bit and see the API in action, there's even an Microsoft Translator Interactive SDK available


You'd think that translation could seem a little boring but once I started playing with it it was actually kind of fun...

The Discussion

  • User profile image

    Cool, thank you!

  • User profile image
    barcode maker

    This is really helpful for programmers while coding on different platform. Thanks for sharing this useful info.

    bar code software

  • User profile image

    I'm the author of a professional localization product for Visual Studio ( Unfortunately, until AI is perfected, relying on automated translation isn't something a professional can rely on to translate their app. It's rife with too many problems (shoddy translation, cosmetic issues, incorrect translation of strings with formatting arguments, etc). Of course for those who want to rely on it in spite of the problems (and potential dangers), or who have a legitimate need for it, your post was a welcome introduction.

  • User profile image

    You missed the most important thing, native .rc files.
    What about the native .rc files ?

Add Your 2 Cents