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


           Summary: Culture names are not up to date
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: x86-64
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: Community User


The Culture names in the Mono implementation is outdated. I tried getting
Screwturn WIKI up and running on Mono, but was met by the following exception:

Culture name sr-latn-cs is not supported.
Parameter name: name

Description: HTTP 500. Error processing request.

Stack Trace:

System.ArgumentException: Culture name sr-latn-cs is not supported.
Parameter name: name
  at System.Globalization.CultureInfo..ctor (System.String name, Boolean
useUserOverride, Boolean read_only) [0x00000] 
  at System.Globalization.CultureInfo..ctor (System.String name, Boolean
useUserOverride) [0x00000] 
  at System.Globalization.CultureInfo..ctor (System.String name) [0x00000] 
  at ScrewTurn.Wiki.Tools.get_AvailableCultures () [0x00000] 
  at ScrewTurn.Wiki.Admin.LoadConfig () [0x00000] 
  at ScrewTurn.Wiki.Admin.Page_Load (System.Object sender, System.EventArgs e)
[0x00000] 
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] 
  at ScrewTurn.Wiki.BasePage.OnLoad (System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.LoadRecursive () [0x00000] 
  at System.Web.UI.Page.ProcessLoad () [0x00000] 
  at System.Web.UI.Page.ProcessPostData () [0x00000] 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] 

Removing or renaming the specified cultures in App_Resources makes the problem
go away.


It shows that the Culture names in Mono 2.0 is just not the same as the current
ASP.NET 2.0 implementation. Shouldn't this be updated?

Microsoft KB article on the subject: http://support.microsoft.com/kb/939949

Repro steps:

Either download Screwturn WIKI: http://www.screwturn.eu or create a small app
which uses the culture "sr-latn-cs" as a resourece


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to