Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Localization

Localization

Scheduled Pinned Locked Moved C / C++ / MFC
helptestingbeta-testingquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Erik Funkenbusch
    wrote on last edited by
    #1

    What methods do you use for localization? I've been struggling with this for quite some time. The problem is that it's very error prone to keep multiple resources for each language. Whenever you change one, you need to change them all, and when doing complex updates you can often forget. This then requires extensive testing in all languages. What are your localization strategies?

    L 1 Reply Last reply
    0
    • E Erik Funkenbusch

      What methods do you use for localization? I've been struggling with this for quite some time. The problem is that it's very error prone to keep multiple resources for each language. Whenever you change one, you need to change them all, and when doing complex updates you can often forget. This then requires extensive testing in all languages. What are your localization strategies?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I use dynamically sized resources and read the texts in at runtime. I found this to be stable verus changes in display preferences (e.g. bigger fonts). I one app the user can change languages at runtime. All buttons/dialogs/... resize and redisplay. This means automatic layout, so you can't be all that fancy as if you did pixelalignment yourself. I got the basic idea from KDE.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups