Can you then explain why I get localized resources out of the main assembly when runnin on MS? Run the winforms/messagebox testcase, with the Mono SWF dll and the MS runtime.
Peter -----Original Message----- From: "Kornél Pál" <[EMAIL PROTECTED]> To: "Peter Dennis Bartok" <[EMAIL PROTECTED]>; <[email protected]> Date: 10 June, 2005 12:02 Subject: Re: [Mono-winforms-list] Important ResourceManager notes >> 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? > >..NET Framework does the same I want to implement (in fact I already >implemented it but I don't want to send a patch until I finish reworking >the >whole ResourceManager to be MS.NET compatible). It reads neutral resources >only from the main assembly and reads localized resources only from the >appropriate satellite assembly. > >This is a very big difference. > >Kornél > >> -----Original Message----- >> From: "Kornél Pál" <[EMAIL PROTECTED]> >> To: <[email protected]> >> Date: 10 June, 2005 00:14 >> Subject: [Mono-winforms-list] Important ResourceManager notes >> >> >>>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 >>> >>> >> >> _______________________________________________ >> 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 > > _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
