A Visual Studio extension designed to streamline the translation of .resx resource files by leveraging Azure AI translation services. This extension helps developers efficiently manage and translate localization resources within Visual Studio.
✅ Export Resx Data – Extracts keys, values, and comments from .resx files into an Excel file for easy review and translation.
✅ Azure AI Integration – Connects to an Azure AI translation service to automate translations.
✅ Customizable Translation Source – Users can configure their own Azure AI instance for improved flexibility.
✅ Batch Processing – Enables bulk translations of multiple .resx files.
✅ Seamless Integration – Works directly within Visual Studio for a smooth developer experience.
- Clone this repository:
git clone https://github.com/ajvanlaningham/AzureAITranslationService.git cd AzureAITranslationService - Open the project in Visual Studio.
- Build the solution to generate the
.vsixfile. - Install the extension by double-clicking the
.vsixfile. - Restart Visual Studio to apply changes.
- Open a Visual Studio project containing
.resxfiles. - Use the "ResX Translator" menu option to:
- Export
.resxdata to an Excel file. - Translate
.resxvalues using Azure AI.
- Export
- Review and modify translations in Excel if necessary.
- Re-import the translated
.resxfile back into the project.
To use Azure AI translations, configure your Azure AI credentials in settings.json or through the extension's settings panel [settings panel WIP].
{
"TranslatorService": {
"Endpoint": "https://api.cognitive.microsofttranslator.com/",
"Key": "<your-key-here>",
"Region": "<region>"
}
}- Visual Studio SDK
- EPPlus (for Excel file handling)
- Azure AI Translator SDK
🚀 Planned Features:
- Setting panel UI
- Support for additional translation providers (Google Translate, DeepL).
- Direct in-editor translation preview.
- More advanced filtering for
.resxkeys.
Probably don't! There are existing visual studio extensions that handle multi-lingual support that are done better. But I didn't like them and I have a problem with authority
📜 MIT License – Feel free to use, modify, and share this project.