[issue31613] Localize tkinter.simpledialog.Default buttons as with file dialogs.

2022-03-04 Thread Sampo Hippeläinen
Sampo Hippeläinen added the comment: >Tk does not provide localized [Ok] and [Cancel] buttons. This is not true. You can call ::msgcat::mc to localize core strings such as "OK" and "Cancel". The full tk.call becomes tk.call("namespace", "eval", "::tk", "::msgcat::mc", s) to translate a

[issue31613] Localize tkinter.simpledialog.Default buttons as with file dialogs.

2022-03-04 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 3.0 -> 4.0 pull_requests: +29801 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31682 ___ Python tracker _

[issue31613] Localize tkinter.simpledialog.Default buttons as with file dialogs.

2017-09-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would make such new paremeters keyword-only. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue31613] Localize tkinter.simpledialog.Default buttons as with file dialogs.

2017-09-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tkinter wraps the tcl/tk gui framework. The file dialogs and messageboxes are provided by tk. When possible, the file dialogs utilize the native OS file dialogs. The localization is done the by the OS. If the messageboxes are localized, then I presume the