Looking for "multilanguage tecnique"

This is a discussion on Looking for "multilanguage tecnique" within the Windows Programming forums, part of the Platform Specific Boards category; Hello, I'm developing an application with VisualC++, and I need to use strings in more than one language. Until now, ...

  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    106

    Looking for "multilanguage tecnique"

    Hello, I'm developing an application with VisualC++, and I need to use strings in more than one language. Until now, I wrote only English text labels, controls or messages, directlyin the code. Now I must be able to show the same texts in other languages. I need this to be a runtime choice, also, so I can't only compile different versions.

    I don't know which could be the best solution....I'm wondering if I should use, for example, resource strings (and, in this case, HOW to use them), or make a global text buffer with strings in different languages having different offsets, or any other solution if possible.

    Thanks very much for any hint.
    BrownB

  2. #2
    Registered User Joelito's Avatar
    Join Date
    Mar 2005
    Location
    Tijuana, BC, México
    Posts
    308
    You can add into the resource text strings and later load them with LoadString. Also you use a INI file or XML files to store text string.
    * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
    * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21