问题描述
我已经在隔离模式下创建了VS Shell.现在,我添加了一个菜单语言",其中包含三个子菜单,其中包含三个不同主题的名称和标志(图标).现在我想做的是,当用户选择其中一个 Shell上的所有文本都应更改为该特定语言.我该怎么做?
I have created a VS Shell in isolated mode. Now I added a menu, "Language", with three submenus containting names and flags (icon) of three different contries. Now what I would like to do is that when user selects one of the lanuage then all the text on the shell should change to that particular language. How can I do this?
推荐答案
我目前正在自己开发这种演示包.当您通过国际设置"页面更改此设置时,我正在尝试按照Tools.Options页面的功能对功能进行建模.
I'm currently working on just such a demo package myself. I'm trying to model the functionality after what the Tools.Options page does when you change this setting via the International Settings page.
最简单的方法是使用自动化属性来设置LCID.我还没有走那么远,但是我应该在明天之前弄清楚.我将结果发布回该线程.
The easiest way to do this is to use the automation property to set the LCID. I haven't quite gotten that far yet, but I should have it figured out by tomorrow. I'll post the results back to this thread.
此致
这篇关于本地化VS Shell隔离模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!