Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
i need to install one language from control panel--> Region and Language-->keyboard language --> add--> Arabic(language).. i need to install this thing when i click on button control in my winform application. how can i install?
Posted 20-Mar-13 0:55am
sai sagar1.9K

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
 
try like below.
System.Globalization.CultureInfo ci = new System.Globalization.CultureInfo("ar");
System.Threading.Thread.CurrentThread.CurrentCulture = ci;
"ar" specifies, its arabic. Its the culture name for arabic.
 
the above code will create the new culture and that will be added to your thread. in your case will be suitable, the culture is active till the thread exists.
 
more on CultureInfo is here
MSDN-CultureInfo Class[^]
Culture Names[^]
 
hope it helps.
  Permalink  
Comments
sai sagar at 20-Mar-13 6:13am
   
sorry.. that is not my answer. once read my question clearly.. i want to install language from control pannel
Karthik Harve at 20-Mar-13 6:50am
   
what do you mean by installing a language ? do you think windows does not understand arabic by default ?
sai sagar at 20-Mar-13 6:53am
   
i want to install telugu,hindi,arabic languages from region and language settings through c# coding
Karthik Harve at 20-Mar-13 6:58am
   
That is what the cultureInfo class does. that will change your system culture temporarily across the specified thread, into the new culture you specify. culture includes everything like, language, date time format etc.
sai sagar at 20-Mar-13 7:04am
   
i don't want culture. i need keyboard layout for Arabic,Telugu,,Hindi. i need only keyboard layout to change to proper language.
i all ready explained how to change keyboard language manually in my question. and again i explained (control panel-->region and language-->keyboard layout-->add (here we can add number of languages))
i need do this this form c# coding...

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



Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 20 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100