Thread: Looking for "multilanguage tecnique"

  1. #1
    Registered User
    Join Date
    Oct 2003

    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.

  2. #2
    Registered User Joelito's Avatar
    Join Date
    Mar 2005
    Tijuana, BC, México
    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