wxWizard localization

Hello,

does wxWizard have some kind of default localization? If I run the wxPython wizard demo, the buttons are labelled "Next", "Cancel" etc, no matter what language the system is set to. Am I supposed to supply the localization on my own?

-Matthias

It should be pulling those strings from the message catalog. Do you create and hold a reference to a wx.Locale object?

···

On 5/30/10 7:51 AM, Nitro wrote:

Hello,

does wxWizard have some kind of default localization? If I run the
wxPython wizard demo, the buttons are labelled "Next", "Cancel" etc, no
matter what language the system is set to. Am I supposed to supply the
localization on my own?

--
Robin Dunn
Software Craftsman

Duh, that worked.

I was expecting it to work out of the box, because other dialogs like wx.MessageDialog and wx.DirDialog were localized without the wxLocale being explicitly set. Now I realize that these are native dialogs (at least on msw) whereas wx.Wizard is a custom dialog and thus not localized automatically.

Thank you.

-Matthias

···

Am 02.06.2010, 00:10 Uhr, schrieb Robin Dunn <robin@alldunn.com>:

On 5/30/10 7:51 AM, Nitro wrote:

Hello,

does wxWizard have some kind of default localization? If I run the
wxPython wizard demo, the buttons are labelled "Next", "Cancel" etc, no
matter what language the system is set to. Am I supposed to supply the
localization on my own?

It should be pulling those strings from the message catalog. Do you create and hold a reference to a wx.Locale object?