[Mono-winforms-list] Important ResourceManager notes
Peter Dennis Bartok
peter at novonyx.com
Fri Jun 10 13:40:23 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
From: "Rafael Teixeira" <monoman at gmail.com>
To: "Kornél Pál" <kornelpal at hotmail.com>
Cc: <mono-winforms-list at lists.ximian.com>
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
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 <kornelpal at hotmail.com> wrote:
> 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
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.
Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
More information about the Mono-winforms-list