hello
I want to change language from regional language by code.
how I would be able to do this?

Use the classes of namespace System.Globalization - CultureInfo class

Use the classes of namespace System.Globalization - CultureInfo class

I used it.but when I want to enter Numbers it's not in a language that I want.my code is:

InputLanguage.CurrentInputLanguage=InputLanguage.FromCulture(new System.Globalization.CultureInfo("fa-IR"));

In this way Just my letters will become "Farsi" but my digits are still "english".

Change the locale setting in your machine via the control panel :)

Change the locale setting in your machine via the control panel :)

I want when the user run the application this change happen programatically and when User close the app it returns to machine's base setting.
I understand that I should use "NativeDigits" but I don't know HOW and Where?

if you change ur local setting. only your pc will be ok.
try putting this into you web.config just below

<system.web>
      <globalization uiCulture="en" culture="en-US" />

if u want UK style... en-GB. hope that helps :D

commented: It's not a web app. -3