|
Hi, One simple question : does Slide support internationalization ? (with the xml:lang attribute) I found this into WebDav RFC : XML also provides a language tagging capability for specifying the language of the contents of a particular XML element. XML uses either IANA registered language tags (see [RFC1766]) or ISO 639 language tags [ISO-639] in the "xml:lang" attribute of an XML element to identify the language of its content and attributes. WebDAV applications MUST support the character set tagging, character set encoding, and the language tagging functionality of the XML specification. Implementors of WebDAV applications are strongly encouraged to read "XML Media Types" [RFC2376] for instruction on which MIME media type to use for XML transport, and on use of the charset parameter of the Content-Type header.Do you plan to support this ? This will help for our project, then with some help, I can spend some time to implement this in Slide. I think at something like this. >> Resquest PROPFIND /institutions/meteo HTTP/1.1 Host: www.foo.bar Content-Length: xxxx Content-Type: text/xml; charset="utf-8" Accept-Language: en, nl, fr, de <?xml version="1.0" encoding="utf8"?> <D:propfind xmlns:D="DAV:"> <D:prop><D:displayname/></D:prop> </d/propfind> >> Response HTTP/1.1 207 Multi-Status Content-Type: text/xml; charset="utf-8" Content-Length: xxxx Content-Language: en, nl, fr <?xml version="1.0" encoding="utf-8" ?> <D:multistatus xmlns:D="DAV:"> <D:response> <D:href>http://www.foo.bar/institutions/meteo</D:href> <D:propstat> <D:displayname xml:land="en">Royal Meteorological Institute of Belgium</D:displayname> <D:displayname xml:land="nl">Koninklijk Meteorologisch Instituut van België</D:displayname> <D:displayname xml:land="fr">Institut Royal Météorologique de Belgique</D:displayname> </D:propstat> <D:status>HTTP/1.1 200 OK</D:status> </D:response> </D:multistatus> The database will contains multiple value for each property, one for each language (when applicable). In fact we need to display the same webdav repository in different language (depending of the user). If this is not planned, do you see another solution to implement this ? Honoré David, DISSCO Project : http://www.meteo.be/DISSCO/ |
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
