[Mono-winforms-list] Important ResourceManager notes

Kornél Pál kornelpal at hotmail.com
Fri Jun 10 14:19:14 EDT 2005


> 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" <monoman at gmail.com>
> To: "Kornél Pál" <kornelpal at hotmail.com>
> Cc: <mono-winforms-list at lists.ximian.com>
> 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 <kornelpal at hotmail.com> 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  -  Mono-winforms-list at lists.ximian.com
>> 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  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
>
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>



More information about the Mono-winforms-list mailing list