[New-bugs-announce] [issue16344] Traceback Internationalization Proposal
Mariano Reingart
report at bugs.python.org
Sun Oct 28 07:57:37 CET 2012
New submission from Mariano Reingart:
I'm opening this ticket to organize patches for a proposal of a GETTEXT-based message translation for exception/tracebacks as described in:
<http://python.org.ar/pyar/TracebackInternationalizationProposal>
This requires the patch in issue #16343
Attached is a patch for a proof of concept, it includes:
- pyi18n.h: header for Py_GETTEXT macro definition
- Locale/es.po: sample Spanish language messages translation file
- test_i18n.py: basic tests
- errors.c: patched PyErr_SetString(), PyErr_Format()
- traceback.c: patched tb_displayline(), PyTraceBack_Print()
- pythonrun.c: patched _Py_InitializeEx_Private()
- site.py: patched main() and added seti18n()
----------
components: Interpreter Core, Unicode
files: traceback_internationalization_proposal.patch
keywords: patch
messages: 173998
nosy: ezio.melotti, reingart
priority: normal
severity: normal
status: open
title: Traceback Internationalization Proposal
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file27756/traceback_internationalization_proposal.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16344>
_______________________________________
More information about the New-bugs-announce
mailing list