An extension for Visual Studio that uses adornments in order to translate code written in other foreign language (i.e. Dutch, Italian, etc) to any other language (English, German, Maltese, etc), using the Google Translate Ajax API. This was done when working on a project involving lots of variables and comments written in Dutch. This extension does not change your code. It only shows a translation next to it, similar to the screenshot below:
The source code can be found at http://github.com/LordIllidan/TranslatorExtensionPackage and at http://translatorextension.codeplex.com/ In terms of design and structure, it was inspired by Codeblog. Here is a screenshot of the Options screen.
It can be used by rightclicking on selected text, and chosing Translate, or by using Control + T. You might have to configure Visual Studio to disable whatever already uses Control + T, namely the Transpose function.
|