You must Sign In to post a response.
  • Category: .NET

    Need to use Tamil and English in Windows application

    Hi Friends,

    I need to use both English and Tamil in windows application.
    It needs to be work if i install the application in any other machine.

    I couldn't get any proper way to implement it, can any one help on this?

    Thanks in advance.
  • #769368

    You can do below two things and as per my understanding both things are necessary.

    First make the database table where you are saving data (if any) to

    Second, add the custom font faces to your project and relate them in application design.

    This link has a demo for UWP apps.
    Hope this is helpful.

    Glad to be,
    John Bhatt
    Editor - DNS Forums

  • #769408
    Please follow the below article:

    In this code, you need to import System.Globalization, System.Resources namespaces and Create a CultureInfo that represents the specific culture which is specified with the specified name as shown below:
    CultureInfo culture;
    culture = CultureInfo.CreateSpecificCulture("ta-IN");

    Here ta-IN represents tamil language of india

    Create a ResourceManager object, it is a resource manager that provides access to culture specific resources at run time. The GetString method of the resource manager object returns the value of the string resource localized for the specific culture.

    ResourceManager resman = new ResourceManager("WindowsFormsApp1.Resource.Res", typeof(Form1).Assembly);
    resman.GetString("Mainform_text", culture);

    Here WindowsFormsApp1 is the windows forms application name, Form1 is the form name. Mainform_text is the resource string in the resource file for that language(Tamil).

    Miss. Jain
    Microsoft Certified Technology Specialist in .Net

  • Sign In to post your comments