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

Re: Gettext real issues

From: Mark Benedetto King <mbk_at_lowlatency.com>
Date: 2004-03-31 04:44:02 CEST

On Tue, Mar 30, 2004 at 03:04:33PM -0800, Greg Stein wrote:
> > The SVN protocol should be modified so that the client send the locale
> > preferences to the server. In the DAV version the solution is to use
> > HTTP's "Accept-Language". Doing this will provide the added benefit of
> > serving localized content to web browsers wandering through the
> > repository, as every browser nowadays sends the "Accept-Language" header.
>
> Right. However, to properly support that, a query function will also be
> required to find out which language bundles are available. Code within
> Apache or mod_dav_svn or wherever will match up the Accept-Language header
> against what is available, and pop out an answer.
>
> The alternative to a query is some kind of configuration setting that says
> "these are available". That moves from a dynamic/automatic environment to
> a manual config system (which is not as handy, obviously).
>

What about just having the messages go onto the wire in a structured
way (instead of preformatted), and let the client side deal with the
localization?

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 31 04:45:53 2004

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.