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

Re: Make option parsing error messages translatable

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 12 May 2013 01:52:06 +0300

Stefan Sperling wrote on Wed, May 08, 2013 at 15:34:58 +0200:
> On Wed, May 08, 2013 at 03:57:22PM +0300, Daniel Shahaf wrote:
> > I don't really have much to say to the rest of your mail that I didn't
> > already say. It boils down to a disagreement over whether
> > lambda x: !strcmp(x, "invalid option")
> > is a stable API.
>
> I think this problem should be fixed in APR. APR should provide some
> official way of translating error messages.
>
> APR is a dependency we are using and this dependency does not support
> localization. Let's recognize that as the real problem and lobby to
> get it fixed, rather than working around it.

While discussing Mattias' recent emails with him on IRC, I came up with
the following observations: tools/dev/aprerr.txt contains over 90 error
codes, for all of which svn_strerror() will call apr_strerror() and
return an English error message.
Received on 2013-05-12 00:52:46 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.