Localization issue with UserControls
-
Hello, I'm working on a localized project and have the following problem now: PROBLEM: The Visual-Studio-2003-Designer does not show the correct language. What i did is that: WAY: 1. Create a new WindowsForm-Project and place a button on the form. 2. Add a new userControl and place a button in the userControl (compile it). 3. Place the userControl on the Form. 4. Localize the project to "invariant", "german", "english"... (compile...) I named all buttons according to the localized language (invairant, german, english). EFFECTS: When I now open the Form with the designer, and the language of the Form is set to "invariant", the button of the form is named "invariant" but the button of the control is named "german". It doesnt matter in wich language set when I compile the userComponent. Most of the time it's "german" (sometimes I saw "invariant" but I couldnt figure out why :confused: ). During runtime everything works normal and I can see the language that is set in "System.Threading.Thread.CurrentThread.CurrentUICulture". ;) PRESUMPTIONS: I suppose that it may depend on the language of the Visual Studio or on the language of Windows (both is german in my case). But I would like to understand WHY EXACTLY this happens (and what I can do to prevent it). Thanks in advance Snow