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