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
.vsix
file. - Install the extension by double-clicking the
.vsix
file. - Restart Visual Studio to apply changes.
- Open a Visual Studio project containing
.resx
files. - Use the "ResX Translator" menu option to:
- Export
.resx
data to an Excel file. - Translate
.resx
values using Azure AI.
- Export
- Review and modify translations in Excel if necessary.
- Re-import the translated
.resx
file 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].
{
"AzureAIEndpoint": "https://your-azure-ai-endpoint.cognitiveservices.azure.com/",
"SubscriptionKey": "your-subscription-key"
}
- 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
.resx
keys.
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.