Today we released update 1 for the Multilingual App Toolkit v3.1. This update delivers enhancement to the original v3.1 release to help make your localization efforts even better by addressing developer reported issues.
Here is a quote from Jesper Holmberg’s blog: "Overlocalization" happens when you translate something that should not have been translated. Overlocalization can give all kinds of interesting symptoms and often causes problems that are tricky to diagnose.
Well that is exactly what MAT was doing to WinForm apps. Marking a Form as localizable enable controls to store the localizable data in the related RESX file. However, non-localizable control information is also placed in the RESX file. MAT was capturing both the localizable and non-localizable information and adding it to the XLIFF files. This resulted in “all kinds of interesting symptoms” was definitely “cause problems” unless the developer was very careful during the localization of the XLIFF file. This update ignores the non-localizable data, making WinForm localization with MAT a lot easier.
Another reported WinForm issue was that using the Publishing options would result in build breaks. If you set the publishing language, the build would work, but then you were stuck with only that language. Obviously, not a very acceptable workaround. This has been fixed with this update as well.
Ever have a problem getting MAT to play nice when a project has NuGet Package Restore option enabled? I never did – until one day I got a report of it happening. The problem only happens if MAT was enabled after the project is enabled to auto-download missing packages. I never saw this bug because the first thing I do on all my projects is enable MAT 🙂
Here is the list of fixes included in this update:
- Added support for Visual Studio 2015 Preview
- Windows Forms over-localization reported issue
- Windows Forms publishing issue
- Language Portal Provider refresh to use the updated Terminology service API
- Fixed an editor crash if the same file was loaded in two editor instances while one was translating and the other saved the XLIFF file
- Update the Add translation languages dialog to allow resize to make pick languages easier
- Fix the conflict with NuGet restore and MAT enablement configuration
- Updated: Enable shared AssemblyInfo file support in a solution. E.g.: Assembly directives split across AssemblyInfo.cs and SharedAssemblyInfo.cs files
The majority of these fixes are the direct result of developers connecting with the MAT team either via email, blog comments or MAT’s User Voice site. Thank you for the feedback that resulted in this update and please keep them coming!