Bug 2957 - CultureInfo.CurrentCulture returns wrong culture name
Summary: CultureInfo.CurrentCulture returns wrong culture name
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: mscorlib (show other bugs)
Version: 2.10.x
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2012-01-18 12:06 UTC by Thomas Klose
Modified: 2014-08-29 14:30 UTC (History)
3 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:

Screenshot: wrong culture name (17.87 KB, image/png)
2012-01-18 12:06 UTC, Thomas Klose

Description Thomas Klose 2012-01-18 12:06:09 UTC
Created attachment 1224 [details]
Screenshot: wrong culture name

In Mono 2.10, System.Globalization.CultureInfo.CurrentCulture returns culture name "en-US" under German Windows.

Steps to reproduce:
* German Version of Microsoft Windows
* Mono 2.6 and Mono 2.10 installed
* run csharp in Mono Command Prompt (each version)
* execute following command: System.Globalization.CultureInfo.CurrentCulture;

Actual result:
* Mono 2.6 returns culture name "de-DE"
* Mono 2.10 returns culture name "en-US"

Expected result:
* Since it is a German version of Microsoft Windows, Mono 2.10.8 should return "de-DE" too

The issue was tested with Mono 2.6.7 and Mono 2.10.8. (see attachment)
Comment 1 Thomas Klose 2012-01-18 12:10:40 UTC
This seems not to be an issue under Linux (tested with Mono 2.10.5 under Ubuntu Oneiric).
Comment 2 Thomas Klose 2012-08-24 10:49:47 UTC
The problem is still present in Mono 2.11.3 Alpha
Comment 3 Thomas Klose 2012-11-09 06:32:36 UTC
The problem is still present in Mono 3.0.1 Alpha!
Comment 4 John Miller [MSFT] 2014-08-29 14:30:37 UTC
Still seeing this in Mono 3.6

Note You need to log in before you can comment on or make changes to this bug.