如何从安装程序设置本地化? [英] how to set localization from installer?

查看:71
本文介绍了如何从安装程序设置本地化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个应用程序,它有两个部分:安装程序和应用程序.如果我想在安装程序中提供一个combox,让用户选择语言.我可以通过编程方式获得此选择并将此选择提供给主应用程序吗?因为在主应用程序中,我有一个

Hi all,

I have an application, it has two parts: installer and application. If I want to give a combox in installer, to let user choose the language. can I programtically get this choice and give this choice to the main application? because in main application, I have a

Localization.CultureInput("fr");

.我想以编程方式将来自安装程序的"fr"参数赋予此功能.非常感谢.

. I want to programatically give "fr" paramter which comes from the installer to this function.Thank you very much.

推荐答案

如果您使用的是Window Installer,请按照以下步骤操作在下面的链接中列出.对Windows Installer程序包进行本地化 [ ^ ]
If your are using Window Installer, follow the steps that are listed in the link below.Localizing a Windows Installer Package[^]


尝试
http://msdn.microsoft.com/en-us/library/kcx25hzz.aspx [ ^ ]
为了创建本地化的安装程序,您可以将部署项目的Localization属性设置为一种受支持的语言.本地化属性设置确定安装期间在安装用户界面对话框中显示的默认文本的语言.
http://www.installsite.org/pages/en/msi/tips.htm [ ^ ]
Try
http://msdn.microsoft.com/en-us/library/kcx25hzz.aspx[^]
In order to create a localized installer, you set the Localization property of the deployment project to one of the supported languages. The Localization property setting determines the language for the default text displayed in the installation user interface dialogs during installation.
http://www.installsite.org/pages/en/msi/tips.htm[^]


非常感谢你们.节日快乐:)
Thank you so much guys. happy holiday season:)


这篇关于如何从安装程序设置本地化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆