Results 1 to 2 of 2

Thread: Language change with a click of button.

  1. #1
    AmazingTrans is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.0
    Join Date
    Jan 2011
    Posts
    1
    Reputation
    0

    Question Language change with a click of button.

    Hello everybody,

    I am currently developing a Vb.net application for my automation controls such as HMI. Before i get deep into my project, i would like to hear out some opinions out there.

    My project will contain multiple languages(english, spanish, chinese, japanese, korean, etc) with a click of buttons/radio buttons to switch languages.
    The application will contain a main screen with buttons, that lead to multiple screens. Once the language is selected, buttons, lots of text, images, will change according to whichever language that I have selected.

    What is the best way of doing this ?

    1) SQL database that stores all the languages, and once the language is selected, the screen will pull out all data from sql database instead ? The rate of it changing will be slow?

    2) Localization. Been reading it but have not gotten a grasp of it yet.

    3) anymore ideas?

    Hope to hear from someone out there!

  2. #2
    sels1987 is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5
    Join Date
    Jun 2011
    Posts
    3
    Reputation
    0
    Hi,


    Use Resource files.
    language.resx
    language.en-US.resx(US english)
    language.de-DE.resx(GERMAN)
    language.fr-FR.resx(FRENCH) etc..,
    in your application to do localization.
    On the button click , change the cultureInfo to related language. it will update your language

    Regards,
    Selvam S

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
  •