[Mono-bugs] [Bug 513002] Localization error in mono

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jun 13 14:42:11 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=513002

User mlgs at arsis.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=513002#c2





--- Comment #2 from matjaz mihelic <mlgs at arsis.net>  2009-06-13 12:42:05 MDT ---
Correct method to set right parameters is this

public static void SetSlovenian (this CultureInfo aCultureInfo)
{
    if (aCultureInfo.Name != "sl-SI")
        return;
    aCultureInfo.NumberFormat.CurrencySymbol = "€";
    aCultureInfo.NumberFormat.CurrencyNegativePattern = 5;
    aCultureInfo.NumberFormat.CurrencyPositivePattern = 1;
}

I use extension method for that, but that shouldn't be needed after bug is
fixed

-- 
Configure bugmail: http://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