[Mono-bugs] [Bug 613014] New: System.Globalization.InputLanguage.InstalledInputLanguages doesn't return a list of Installed Languages
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jun 9 15:46:51 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=613014
http://bugzilla.novell.com/show_bug.cgi?id=613014#c0
Summary: System.Globalization.InputLanguage.InstalledInputLangu
ages doesn't return a list of Installed Languages
Classification: Mono
Product: Mono: Class Libraries
Version: SVN
Platform: x86-64
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: tom_hindle at sil.org
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=368287)
--> (http://bugzilla.novell.com/attachment.cgi?id=368287)
InputLanguage.InstalledInputLanguages test case
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5
(KHTML, like Gecko) Chrome/4.0.249.43 Safari/532.5
the following should produce a list of Language locales/Cultures:
foreach(InputLanguage langs in InputLanguage.InstalledInputLanguages)
{
Console.WriteLine("Name = {0}", langs.Culture.Name);
Console.WriteLine("LCID = {0}",langs.Culture.LCID);
}
My systems 'locale -a' says:
C
en_AG
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_NG
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8
POSIX
Reproducible: Always
Steps to Reproduce:
1. Compile and run Attached Test case.
Actual Results:
Name =
LCID = 127
1033
4105
Expected Results:
Something like:
Name = en-US
LCID = 1033
Name = en-CA
LCID = 4105
..
1033
4105
--
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