Hello,
what is the way to switch between UI languages at runtime by e.g. selecting a menu item? Apparently you can set the locale only once .. Currently I'm setting the localization when the app starts.
How to change UI language at runtime Topic is solved
Re: How to change UI language at runtime
There is no automatic or even semi-automatic way to do this in wxWidgets.
If you really, really wanted to do this, you'd have to re-set the label of all controls/texts etc after changing the locale.
I personally don't think it's that important to be able to switch the language at runtime, because a user normally does it only once. So i just ask the user to restart after he changed the language.
If you really, really wanted to do this, you'd have to re-set the label of all controls/texts etc after changing the locale.
I personally don't think it's that important to be able to switch the language at runtime, because a user normally does it only once. So i just ask the user to restart after he changed the language.
Use the source, Luke!
Re: How to change UI language at runtime
Seems like the way to go. Thanks!doublemax wrote:I personally don't think it's that important to be able to switch the language at runtime, because a user normally does it only once. So i just ask the user to restart after he changed the language.