Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46261 > unrolled thread

Re: Python error codes and messages location

Started byChris Angelico <rosuav@gmail.com>
First post2013-05-28 17:15 +1000
Last post2013-05-28 08:38 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python error codes and messages location Chris Angelico <rosuav@gmail.com> - 2013-05-28 17:15 +1000
    Re: Python error codes and messages location Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-28 08:38 +0000

#46261 — Re: Python error codes and messages location

FromChris Angelico <rosuav@gmail.com>
Date2013-05-28 17:15 +1000
SubjectRe: Python error codes and messages location
Message-ID<mailman.2285.1369725359.3114.python-list@python.org>
On Tue, May 28, 2013 at 4:57 PM, Fábio Santos <fabiosantosart@gmail.com> wrote:
>
> On 28 May 2013 05:17, "Vito De Tullio" <vito.detullio@gmail.com> wrote:
>> I really hope really far... have you never tried to google a localized
>> error
>> message? :\
>
> Never. I don't even try.

Same happens when someone pastes an error onto a mailing list like
this. Unless there's some easily-identifiable token (maybe the
exception type doesn't get localized, though that has its own
consequences) by which everyone world-over can recognize the
exception, this would be a major nuisance. Also, once the interpreter
core and a few parts of the stdlib get localized, this would add a
barrier to entry for new modules... not sure this is a good thing.

Can we internationalize English instead of localizing Python?

Not-entirely-joking-ly yours,

ChrisA

[toc] | [next] | [standalone]


#46267

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-05-28 08:38 +0000
Message-ID<51a46d0b$0$11118$c3e8da3@news.astraweb.com>
In reply to#46261
On Tue, 28 May 2013 17:15:51 +1000, Chris Angelico wrote:

> Can we internationalize English instead of localizing Python?

We have. English is the primary international language for programmers. 
(For which I am profoundly grateful.)

Japanese is also a pretty important language, but mostly in Japan. And 
China would like Chinese to be, in fact there is even a version of Python 
localised to Chinese:

http://www.chinesepython.org/


I have no objection to people creating their own, localised, 
implementation or fork of Python, in which case good luck to them but 
they're on their own. But I don't think that exceptions should otherwise 
be localised.



-- 
Steven

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web