Click here to Skip to main content
15,881,559 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
How can i get the list of all available input langauges. i have already gone through InputLanguage Class but it just gives the intalled language not the complete list. Is there any to to get the complete list ?
Posted
Comments
Sergey Alexandrovich Kryukov 17-Apr-13 2:06am    
Interesting question, my 5.

I understand what you are talking about. When Windows is installed, you can add input language. When you do it, a list of predefined languages is provided. Where to get it? And this is not InputLanguage.InstalledLanguages: when you add a language, it will return the collection of 2...

(Unfortunately, I don't know the solution (and I cannot be sure that a documented solution exists at all), but I hope my comments can help other members to avoid false answers.)

—SA
CS2011 17-Apr-13 2:12am    
Thanks. i have been trying to get the soluation from some time and could find any thing. But it has to be avilable at some place from where windows is displaying the list. Just need to find out from where
johannesnestler 17-Apr-13 5:32am    
Depends on your needs, but are the lists you can get with System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes... ) not useful for you?
CS2011 17-Apr-13 6:09am    
Nop. There some differences in two list and we need the input language one.

1 solution

This will give you all possible languages (I get 354 of them)
C#
var regionalLanguages = CultureInfo.GetCultures(CultureTypes.AllCultures).Select(c => c.DisplayName);


This will give you all possible languages with specific regions (I get 210 of them)
C#
var regionalLanguages = CultureInfo.GetCultures(CultureTypes.SpecificCultures).Select(c => c.DisplayName);
 
Share this answer
 
v2
Comments
CS2011 18-Apr-13 10:37am    
This is not a soluation. There is a big difference in culture and input langauge. Please read the question before you answer it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900