[Mono-winforms-list] Important ResourceManager notes
kornelpal at hotmail.com
Fri Jun 10 14:01:55 EDT 2005
> 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.
> -----Original Message-----
> From: "Kornél Pál" <kornelpal at hotmail.com>
> To: <mono-winforms-list at lists.ximian.com>
> Date: 10 June, 2005 00:14
> Subject: [Mono-winforms-list] Important ResourceManager notes
>>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
>>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
>>assembly and only the neutral resources will be available in
>>after the patch.
>>Note that this change does not effect GetManifestResourceStream but it
>>should not be used with localizable resources. (Managed.Windows.Forms is
>>using GetManifestResourceStream for localization)
>>Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
More information about the Mono-winforms-list