I am engaged in translation into Russian of the interface of one opensource program. Written in python, a graphical user interface on WxPython. The dialog boxes use the standard OK and Cancel buttons: (topsizer.Add(self.CreateSeparatedButtonSizer(wx.OK+wx.CANCEL), 0, wx.EXPAND)).

How can I replace the Cancel button with Cancel? Wxpython didn't work before

    1 answer 1

    The text on the buttons defined by constants depends on the current locale. Cancel will be displayed for en_US, and Cancel will be displayed for ru_RU.

    • Everything that could be translated with the help of the locale I translated. In the locale directory were still German, French and Spanish locales. I used them as a template to create a Russian locale. The OK and Cancel buttons in them, by the way, also remained in English. Since these buttons are taken from the wx-library - empty144