RandomUser
RandomUser

Reputation: 1853

Globalization issue in C# windows application

I am creating a windows application developed using C#.

I want the user to input some text and display it in another label on a button click event.

The text entered should be in local language Tamil.

I changed the language property of the Form element to Tamil and changed the font of the text box to the desired font and added the following piece of code to the form.

public Form2()
{
Thread.CurrentThread.CurrentUICulture = new CultureInfo("ta-IN");
InitializeComponent();
}

The button element has the following code

private void button1_Click(object sender, EventArgs e)
{
textBox2.Text = textBox1.Text;
}

I can input in Tamil and display the contents in Tamil in the system where I am developing the application but when I deploy the application in another system I can not input Tamil words. The desired font is installed in the host system.

Help me out here.

Upvotes: 0

Views: 882

Answers (1)

user3350898
user3350898

Reputation:

I think you should install language.

it might solve your problem.

For that you can go to Control Panel\Region and Language setting\ keyboard and language tab\Install language.

Upvotes: 1

Related Questions