[issue17776] IDLE Internationalization

2017-10-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned> IDLE uses some Tk-supplied default menus and menu items On Windows and *nix, the visible menu labels all come from IDLE. I don't yet understand what is going on with Mac menus. Some menu items call the tk file dialog, and the config highlight tab calls

[issue17776] IDLE Internationalization

2017-10-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the last few months, configdialog has been refactored to have a class for each settings tab. This makes it easier to revise and add new options, such as 'menu language'. With this done, the IDLE features implemented as (optional) extensions were turned i

[issue17776] IDLE Internationalization

2015-08-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just noticed https://pypi.python.org/pypi/idle-lif/1.0 Python IDLE Language Pack. Have not looked at it. If someone decides to work on this, I have ideas on how i18n could be done with minimal impact on the code, partly based on https://pythonhosted.org/flu

[issue17776] IDLE Internationalization

2015-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume setting builtins._ is part of imitating the shell. It could be replace with setattr. -- ___ Python tracker ___ __

[issue17776] IDLE Internationalization

2015-04-11 Thread Al Sweigart
Al Sweigart added the comment: > Someone should do a more refined search with an re that excludes '_' preceded > or followed by an identifier char, to skip '__xyz__' or '_x' or 'y_'. I've run this regex over all the .py and .pyw files in idlelib: [^_'"a-zA-Z0-9]_[^a-zA-Z0-9_] The only possibl

[issue17776] IDLE Internationalization

2015-01-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I answered my Q1 in msg187219: test.test_gettest is currently passing, with no skips, on 2.7 and 3.4 on Win 7. patch.diff: I would rather add the 4 lines of the proposed idle_i18n.py to an existing module, perhaps Bindings.py itself, since that is the first pl

[issue17776] IDLE Internationalization

2015-01-06 Thread Al Sweigart
Changes by Al Sweigart : -- nosy: +Al.Sweigart ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue17776] IDLE Internationalization

2013-05-04 Thread Damien Marié
Damien Marié added the comment: A side note to justify the localization of IDLE: I think the internationalization part is important, It's a nearly invisible overhead for the code but it will be helpful for example: - In France, most of the highschool student have to learn python so they learn

[issue17776] IDLE Internationalization

2013-04-21 Thread Damien Marié
Damien Marié added the comment: Here is a new patch featuring: _ a setting to disable idle i18n _ a documentation Things needed: _ taking into account Windows (where IDLE is mainly used) _ a much in-depth translation of the interface: Context-menu, dialogs, ... _ unit-testing it To test it by y

[issue17776] IDLE Internationalization

2013-04-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: +1 for internationalizing IDLE. Any decent GUI app is internationalized these days, even developer tools. Re: gettext, its semantics and API are a bit of a PITA, but it's basically the standard for internationalization of FLOSS projects. There are all kind of

[issue17776] IDLE Internationalization

2013-04-18 Thread Ned Deily
Ned Deily added the comment: Also, IDLE makes use of features provided by Tk and those vary by platform. In some cases, IDLE uses some Tk-supplied default menus and menu items. So internationalization of IDLE would need to investigate and make use of Tk i18n features on all supported platfor

[issue17776] IDLE Internationalization

2013-04-18 Thread Roger Serwy
Roger Serwy added the comment: Extensions would need to be modified to use the gettext module. -- ___ Python tracker ___ ___ Python-bu

[issue17776] IDLE Internationalization

2013-04-17 Thread Todd Rovito
Changes by Todd Rovito : -- nosy: +Todd.Rovito ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue17776] IDLE Internationalization

2013-04-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Whether and how much to internationalize Idle is being discussed on idle-dev thread "I18n of IDLE's interface ?". I was going to suggest there that the menu system would be the first place to start. A prime concern for me is that we not break anything (hence s

[issue17776] IDLE Internationalization

2013-04-17 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, roger.serwy, terry.reedy stage: -> patch review versions: +Python 2.7, Python 3.3, Python 3.4 ___ Python tracker ___ __

[issue17776] IDLE Internationalization

2013-04-17 Thread Olivier Berger
Olivier Berger added the comment: Excellent. I've started playing with pygettext and msgfmt and it looks like this works, from the initial tests I've made -- nosy: +olberger ___ Python tracker

[issue17776] IDLE Internationalization

2013-04-17 Thread Damien Marié
New submission from Damien Marié: Following the issue 17760 Internationalization should be implemented. I propose to implement it as an optionnal settings first. And with the gettext library. I'm not experienced with the idlelib module but here is a first patch, don't hesitate to comment it.