简体   繁体   English

Visual Studio 安装程序项目多语言支持

[英]Visual studio installer project multi language support

I have ac# WPF application which is able to switch in deferent language as per customer wants.我有 ac# WPF 应用程序,它能够根据客户的需要切换不同的语言。 I also created a setup project for the same.我还为此创建了一个安装项目。 I need to make the setup project also be able to switch language.我需要使安装项目也能够切换语言。 The problem is, the 'Visual studio installer project' doesn't have an option to do that.问题是,“Visual Studio 安装程序项目”没有这样做的选项。 There is an option to set language for MSI.可以选择为 MSI 设置语言。 However dynamically changing the language is not supported但是不支持动态更改语言

I have already googled it and no solution found.我已经用谷歌搜索了它,但没有找到解决方案。 some of the similar posts links are below.一些类似的帖子链接如下。 which also have no correct answer也没有正确答案

c# Setup Project Localization c# 设置项目本地化

How to create preview choosing setup language in Visual Studio Project Installer? 如何在 Visual Studio 项目安装程序中创建预览选择安装语言?

Any idea how to do that.任何想法如何做到这一点。 Thanks in advance提前致谢

I don't have much experience regarding this, but:我在这方面没有太多经验,但是:

The Wix installer seems to have support for localization: https://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/ Wix 安装程序似乎支持本地化: https : //wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/

VDProject seems to be the right way to move forward aswell: https://devblogs.microsoft.com/buckh/visual-studio-setup-projects-vdproj-will-not-ship-with-future-versions-of-vs/ VDProject 似乎也是向前推进的正确方式: https ://devblogs.microsoft.com/buckh/visual-studio-setup-projects-vdproj-will-not-ship-with-future-versions-of-vs/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM