Wrox Programmer Forums
|
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 14th, 2006, 08:34 AM
Authorized User
 
Join Date: Nov 2004
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Multilanguage software

Hi All,

        I am working at a software that will use multilanguage interface. Now my requirement is to get list of languages installed in windows xp. So that i can alter the languages in order..

i think i should explain.....

in windows Xp we can install multiple languages using the region and languages icons. and we can swicth between languages using some shortcut key most probably ALT+SHIFT...

Now i want to find out that at the current moment how many languages are installed in windows xp and what is the current language seleted.... and this all i need to do through programming in C#... if any one has done some job like this... kindly help....

                                tayyab
__________________
Tiyyob
 
Old June 14th, 2006, 08:51 AM
Authorized User
 
Join Date: Nov 2004
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi all,

 i found the solution from microsoft web site... here is the code for u

public void GetLanguages()

{

// Gets the list of installed languages.

foreach (InputLanguage lang in InputLanguage.InstalledInputLanguages)

{

//textBox1.Text += lang.Culture.EnglishName + '\n';

MessageBox.Show(Convert.ToString(lang.Culture.Engl ishName));

}

}

private void button2_Click(object sender, EventArgs e)

{

GetLanguages();

}



it will show all the languages currently installed........


                    happy coding...

                        tayyab





Similar Threads
Thread Thread Starter Forum Replies Last Post
Multilanguage Interface tiyyob .NET Framework 2.0 1 June 14th, 2006 01:03 AM
Multilanguage Error jap ASP.NET 1.0 and 1.1 Professional 1 September 6th, 2005 04:32 AM
best WWW Authoring Software (FREE!) software crmpicco HTML Code Clinic 2 July 18th, 2005 03:37 AM
Using XML for multilanguage? lachdanan Classic ASP XML 3 May 19th, 2005 10:10 AM
Multilanguage Olaf_l Classic ASP Basics 3 March 23rd, 2005 06:13 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.