Multilingual

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
Post Reply
webmasterpdx
Knows some wx things
Knows some wx things
Posts: 27
Joined: Thu Jun 25, 2009 2:43 am
Location: Portland, Oregon
Contact:

Multilingual

Post by webmasterpdx » Mon Dec 20, 2010 10:28 am

I'm not an expert on this, but from what I can see, you can set the font and the text. So for germanic/latin based languages, it shouldn't be a problem. You can set the font and the text (can you set the font at runtime?) for labels for example.
So, you could set up a class that controls font and text based on language selection and stores tables of these for each control. Then, before rendering, it cycles through all the widgets below the displaying parent container and sets the text and fonts.
I don't know if something already exists to assist in this....have you searched?
The difficulty comes in both sizes of widgets based on translations being different sizes, and in translation of non germanic languages, like chinese, korean, etc..
Good Luck. I'll keep my eye on this post. If I see anything I'll let you know.

Post Reply