Results 1 to 2 of 2

Thread: Multi Language Support

  1. #1
    jdy0803 is offline VB.NET Forum Enthusiast
    .NET Framework
    .NET 4.0
    Join Date
    Sep 2012
    Location
    Santa Clarita
    Posts
    73
    Reputation
    57

    Multi Language Support

    My application program's default language is English.
    I want to make it support several language, for example, English/Spanish/Franch/Chinese/Russian.
    Default is English and change in the Preference window.
    How could I do this?


    Long time ago, in VB6 application, I have done this using Excel file which have columns(English/Spanish/French...)
    Rows were text string which is used in the menu, label, messagebox....
    I read those strings and displayed relevant foreign language text.


    But I'm not sure if this way is reasonable even in .NET environment.
    Can anybody give me any idea?

  2. #2
    jmcilhinney's Avatar
    jmcilhinney is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    13,767
    Reputation
    1702
    The way to do this in .NET is to use Globalization and Localization. Globalization is designing your app to be able to support multiple cultures and Localization is then making it support a specific culture. It's done by using resources where a culture-specific data is required. You build the resources for the default culture into the EXE and then you simply provide a satellite assembly for each additional culture that you want to support. A satellite assembly is a DLL that contains nothing but resources.

    You should start by looking up Globalization and Localization on MSDN. That may well give you all you need but, if not, you should be able to find tutorials and/or examples elsewhere on the web.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •