>>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).
>
>
I think it's simpler than that. The client would send "Accept-Language:
es", then the server would check for a
"/usr/share/locale/es/LC_MESSAGES/subversion.mo" file. If this file is
there, then it would be used to provide the messages.
---------------------------------------------------------------------
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:55:54 2004