[Python-ideas] i18n and Python tracebacks

Andre Roberge andre.roberge at gmail.com
Sat May 15 16:02:35 CEST 2010


I think it would be a good idea if Python tracebacks could be translated
into languages other than English - and it would set a good example.

For example, using French as my default local language, instead of

>>> 1/0
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero

I might get something like

>>> 1/0
Suivi d'erreur (appel le plus récent en dernier) :
  Fichier "<stdin>", à la ligne 1, dans <module>
ZeroDivisionError: division entière ou modulo par zéro

André
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20100515/27c069f9/attachment.html>


More information about the Python-ideas mailing list