[Mono-bugs] [Bug 347157] New: gacutil don't process correctly localization

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Dec 8 10:49:23 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=347157


           Summary: gacutil don't process correctly localization
           Product: Mono: Tools
           Version: 1.2.5
          Platform: i386
               URL: http://liogo.sourceforge.net
        OS/Version: SuSE Linux 10.1
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: tools
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: llaske at c2s.fr
         QAContact: mono-bugs at ximian.com
          Found By: Third Party Developer/Partner


Created an attachment (id=186541)
 --> (https://bugzilla.novell.com/attachment.cgi?id=186541)
Files for the samples.

I suspect a bug in the Mono version of gacutil. Here is my sample.
I'm using an assembly named "Lang.dll" and three localized version of resources
for this assembly. One for english US language ("en-US/Lang.resources.dll"),
another for french language ("fr-FR/Lang.resources.dll") and one last for
neutral english with only country code ("en/Lang.resources.dll").
The TestLocale program use one time each resource and print:

        Hi               // Get message from en-US, find it 
        Bonjour          // Get message from fr-FR, find it
        Good Morning     // Get message from en-GB, don't find it so get
message from en

To experience the problem, we launch the sample two times: one time with
assemblies out of the GAC then with all assemblies in the GAC.
On .NET, both launch print the same result.
On Mono, first launch print the right result but the launch with assemblies in
the GAC print:

        Good Morning     
        Bonjour                 
        Good Morning     

I guess that the issue come from gacutil. Figure 1 is GAC content on .NET.
Figure 2 is a GAC content on Mono. 
I guess that gacutil on Mono don't understand culture with only a country so:

        gacutil -i en/Lang.resources.dll

Is processed on Mono like:

        gacutil -i en-US/Lang.resources.dll

Find included a zip with bin files, sources files and two figures.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list