[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Localizing error messages

From: Stefan Fuhrmann <stefanfuhrmann_at_alice-dsl.de>
Date: Sat, 23 Jan 2016 11:51:53 +0100

Hi there,

The topic has been brought up on IRC yesterday
but I've found wondering myself the same thing
in the past: What error messages should be
marked for localization?

In particular, most of the back-end libraries create
"stuff is horribly broken" error messages whose
specific contents is only meaningful to experts but
not to ordinary admins or client users. We are quite
inconsistent about the usage of _() in those libs and
I myself wasn't consistent about it either.

I suggest as a policy (in case that isn't already in
place) that error messages shall not be localized
id the user / admin cannot reasonable act on them.
Specifically, I suggest that all "data corrupted" error
messages become non-localized. If there is something
that a user can do about it (transient network failure),
higher levels should wrap the error appropriately.

-- Stefan^2.
Received on 2016-01-23 11:52:08 CET

This is an archived mail posted to the Subversion Dev mailing list.