Click here to Skip to main content
11,927,187 members (49,293 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# 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
bdjunayed 14-Aug-15 14:38pm
when if my app close/exit, how to uninstall the arabic culture.

1 solution

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

Solution 1


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.
sai sagar 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 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 20-Mar-13 6:53am
i want to install telugu,hindi,arabic languages from region and language settings through c# coding
Karthik Harve 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 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.151126.1 | Last Updated 20 Mar 2013
Copyright © CodeProject, 1999-2015
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