Mono build assemblies won't be usable localized on ms.net.

I did not understand what do exaclty you mean.

Do you mean that (1) .NET Framework language packs cannot be used with Mono
or that (2) my own appplication's satellite assemblies built using .NET
Framework cannot be used with Mono?

In case (1) it's normal but note that ResourceManager is public class and
intended to be used by any application that uses the class library and has
to provide consistent behaviour as well as on .NET Framework as on Mono.

I don't think case (2) is true but if so it is a bug of Mono.

Korn�l

----- Original Message -----
From: "Rafael Teixeira" <[EMAIL PROTECTED]>
To: "Korn�l P�l" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Friday, June 10, 2005 7:34 PM
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


_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to