1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to develop Multilanguage software in MFC

Discussion in 'MFC' started by kincorn, Jul 16, 2007.

  1. kincorn

    kincorn Banned

    Joined:
    Jul 16, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Just now I receive a project about changing a software to support internationalization, but I have no experience in multilanguage programing.

    After searching in Google, I get the following scheme:
    1. Resource scheme. Every language has a RC, which will be compiled to dll (pure resource dll).
    2. Dictionary file (plug) scheme. The dictionary file stores "Lable-Message" pair. Programme reads the message-string once starts up, and then, GetDlgItem(ResourceID)-

    >SetWindowText(MessageString).
    3. Any others???

    Resource scheme is really troublesome because you should maintain multiple resources, and the data-coherence is difficult to solve. So in my idea the dictionary scheme is

    better. But it still has lot of problems, just like the width of the Static Lable (CStatic), and the popup menu item has no ID.

    In one word, I've no experience. What and how should I do, and what I must pay attention to...
    Thanks a lot!
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,293
    Likes Received:
    365
    Trophy Points:
    83

Share This Page