Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS
with no warranties, and confer no rights. Additionally, views expressed
herein are my own and not those of my employer, Microsoft.
Recently, I wrote a couple of blog post (here and here) about how to enable multi-lingual development scenarios by taking advantage of the Visual Studio IDE UI language switching feature. I would like to add to those previous posts by showing an example of using this feature, including some screenshots.
For this example, I will use the English and French versions of the Visual C# 2005 Express Edition. However, it works equally well for any version and UI language of Visual Studio.
I configured my system as follows:
Now that I have both the French and English versions of VC# Express installed, I can easily switch IDE UI languages. When I launch the IDE with English UI, it appears as follows:
Once I launch the IDE with English UI, I can do the following to change the UI language to French:
The English Options dialog looks like the following:
After following the above steps and then reopening the IDE, VC# will appear as follows:
I am able to change the language back to English by using the same set of steps as listed above, except I need to refer to the French translation for each of the IDE UI elements. The French Options dialog looks like the following:
In addition to using the steps listed above, I can change the IDE UI language by using the following command lines:
It is important to note that when using the /LCID command line switch, the default UI language will be updated in the registry when Visual Studio launches. That means that if you had previously configured VS to launch in English and you then pass in /LCID 1036, you will set the default language to French. That means that when you close the IDE and reopen it using the Start menu shortcut it will continue to appear with French UI until you change it in the International Settings section of the Options dialog or launch the IDE with /LCID 1033.
One other interesting note that I want to emphasize here - IDE language switching will be available even if you don't install the exact same edition of Visual Studio for each language. For example, you can install the English Visual Studio Team Suite and the French Visual Studio Professional. However, the only UI that will correctly switch languages will be components that are common to the two editions that you install on your system. So you might see a mix of two different UI languages depending on what editions you have installed on your system and what features you use within the IDE. In addition, there are limitations in the UI language fallback mechanism for some IDE features, so you may see some features missing from the IDE even though the feature is installed for one of the two UI languages.
<update date="2/10/2011"> Fixed broken links to images used in this post. </update>
Thank you. you save me. I have changed from chinese(!!!) to Italian.