Bug 60697 - CultureInfo defaults to en-US when two or more languages are selected.
Summary: CultureInfo defaults to en-US when two or more languages are selected.
Status: RESOLVED DUPLICATE of bug 59596
Alias: None
Product: Class Libraries
Classification: Mono
Component: System ()
Version: 5.4 (2017-06)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2017-11-15 14:54 UTC by Tylerian
Modified: 2017-11-15 15:42 UTC (History)
1 user (show)

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

A sample project reproducing the bug. (8.67 KB, application/zip)
2017-11-15 14:54 UTC, Tylerian

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Tylerian 2017-11-15 14:54:53 UTC
Created attachment 25721 [details]
A sample project reproducing the bug.

If I set two or more system languages on my iOS device configuration (idk if it also happens on another OS), CurrentCultureInfo defaults to en-US regardless of the languages i've previously selected.

Steps to reproduce:

On iOS go to Settings -> General -> Language & Region -> Preferred language order -> pick some languages.

Then run the sample project I've attached to this bug report and you'll see whatever language you've choosen it will default to en-US.

Here is my version/system info:

Visual Studio Community 2017 for Mac
Version 7.2.2 (build 11)
Installation UUID: df0261ed-777a-4c0c-b4b1-950536aafad7
	Mono (2017-06/1f4613aa1ac) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 504010006


.NET Core
Runtime: /usr/local/share/dotnet/dotnet
Versiones de tiempo de ejecución:
SDK: /usr/local/share/dotnet/sdk/2.0.0/Sdks
Versiones del SDK:
SDK de MSBuild: /Library/Frameworks/Mono.framework/Versions/5.4.1/lib/mono/msbuild/15.0/bin/Sdks

Version: (Visual Studio Community)
Hash: 51128b8c
Branch: xcode9.1
Build date: 2017-10-31 22:42:13-0400

Build Information
Release ID: 702020011
Git revision: b604c37c5a4a2f0919b45ffbe2aaad9fe040af31
Build date: 2017-11-01 08:31:43-04
Xamarin addins: d57dc14cbd4eb166ee62bab585965ab78d3650bc
Build lane: monodevelop-lion-d15-4

Operating System
Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
    Thu Jun 15 17:36:27 PDT 2017
    root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
Comment 1 Tylerian 2017-11-15 15:42:54 UTC

*** This bug has been marked as a duplicate of bug 59596 ***