Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Why Threading.Thread.CurrentThread.CurrentUICulture is different in Add-in from Windows Forms App?

$
0
0

I have an Add-In to Visual Studio that I have localized for German. On my English Windows 8 I have set the language = German(Germany).

In my Add-in  I enable German if Threading.Thread.CurrentThread.CurrentUICulture="de-DE".  When this did not work I run the following code in an Add-in and Windows Forms Application:

msgBox(Threading.Thread.CurrentThread.CurrentUICulture)

In the Addin the popup displays "en-US"

In the Windows Forms Application the popup displays "de-DE"

My Windows Interface is in German. The Visual Studio interface is in English except when popups are displayed, the message in the popup is in English but the buttons are in German!

For example:

------------------------------------

Do you want to stop debugging. 

                Ja  Nein

------------------------------------

I am very confused.  More to point, what should I be checking for if I want to support localization in my add-in to VS?

Regards,

Joginder Nahil
www.starprinttools.com



Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>