阻止 Visual Studio 2015 年资源文件的语言翻译

Prevent language translation of resource file in Visual Studio 2015

在 Visual Studio (2015) 中使用多语言应用程序工具包扩展(版本 4)时,是否有任何方法可以防止项目中的资源文件之一被翻译?

在多语言应用程序工具包中,我使用 Add translation languages...

添加了两种语言

我现在已将新资源文件 resourceImages.resx 添加到我的 WinForms 项目以包含不应本地化的图像。

工具包已自动创建 resourceImages.fr.resxresourceImages.de.resx。有什么办法可以防止这种情况 - 我不希望图像有翻译版本,也不希望它们出现在我们的翻译人员将收到的 xlf 翻译文件中。

Multilingual App Toolkit 的作者现在已经在问答选项卡中回答了这个问题here

There is no option to ignore resource files with MAT. However, by default the entry in the XLF file is a reference to a image location and not the image itself. Marking the image resource(s) as Translate = 'No' in the XLF file will prevent the images references from being added to the target language image resource files. This is because resources with a Translate = 'No' are not added to the target resource file. This should allow you to use a single image for all languages without any project bloat.