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

svnserve error messages in server's locale instead of client's locale?

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-11 22:49:24 CET

I just noticed something that I find odd.

$ svn log -r 495 svn://svn.lighttpd.net/lighttpd/tags/lighttpd-1.4.11
svn: Datei nicht gefunden: Revision 495, Pfad '/tags/lighttpd-1.4.11'

Why am I seeing the error message in German? I know the developer of
LightTPD is German so his server may use a German locale. But I
definitely prefer my messages in English which is why I have my LANG
environment variable set to en_US.ISO8859-1. When using either my own
repository on the local machine (Mac OS X 10.4.5 PPC, Apache 2.2,
Subversion 1.3.0) or our work repository on our development server
(Gentoo Linux x86, Apache 2.0.54, Subversion 1.2.3), I see messages
in English.

Is the server sending the already-localized error messages over the
wire to the client, in its locale? I would have expected for either
the client to send the client's locale to the server so that the
server could generate the correctly-localized message, or maybe for
the server to just send an error ID code to the client where it could
translate it into a localized error message.

I didn't see any entries about this in the issue tracker, but I did
see this in the list archives:

http://svn.haxx.se/dev/archive-2004-11/0331.shtml

This seems to suggest that what I conclude above is correct, and that
it only occurs for svnserve, and that it is unintended, and that it
was suggested that it be corrected in Subversion 1.1.x. Was it
forgotten? Or did it get fixed and maybe lighttpd.net is still
running an old svnsernve before it was fixed?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 11 22:50:13 2006

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