We have a test app in winforms/messagebox, that switches to the german locale, to test reading non-neutral resources. When I run that with our System.Windows.Froms.dll, but with Microsoft's runtime, it does read the non-neutral locale. Doesn't that contradict the statement that MS does not support it?
Cheers, Peter -----Original Message----- From: "Rafael Teixeira" <[EMAIL PROTECTED]> To: "Korn�l P�l" <[EMAIL PROTECTED]> Cc: <[email protected]> Date: 10 June, 2005 11:34 Subject: Re: [Mono-winforms-list] Important ResourceManager notes I suggest to have our ResourceManager be smarter than MS's one, and first search non-neutral resources in the main assembly and just try the sattelite ones if not found. That way we are compatible with VS.NET projects generated assembly-sets but can accomodate a basic set of localizations in just one assembly, what would be nicer to compile and package/distribute. Or maybe the order should be reversed to allow for updated localizations being distributed as sattellites and override the basic internal set. Opinions are welcome. :) On 6/10/05, Korn�l P�l <[EMAIL PROTECTED]> wrote: > Hi, > > I am about post an extenive ResourceManager patch. > I am still working on the test unit to make discover the correct behaviour > of ResourceManager and prevent regressions. > > There were a lot of differences between Mono and .NET Framework > implementation. > > The most important that will break Managed.Windows.Forms is that neutral > resources has to be read from the main assembly any other resources has to > be read from the appropriate satellite assembly. > > System.Windows.Forms.dll contains all the cultures of resources in the > main > assembly and only the neutral resources will be available in > ResourceManager > after the patch. > > Note that this change does not effect GetManifestResourceStream but it > should not be used with localizable resources. (Managed.Windows.Forms is > not > using GetManifestResourceStream for localization) > > Korn�l > > _______________________________________________ > Mono-winforms-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-winforms-list > -- Rafael "Monoman" Teixeira --------------------------------------- I'm trying to become a "Rosh Gadol" before my own eyes. See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment. It hurts! _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
