From: Nicolas V. <nve...@cl...> - 2005-01-09 12:43:21
|
Hi, I have looked at Apache documentation concerning content negotiation. For what I have read, a solution may be : - Add .htaccess file with a content looking like : DirectoryIndex index index.html Option MultiViews AddLanguage en .en AddLanguage fr .fr - Generate the french translation using the name index.fr.html in the = same directory as the english version. I'd like to try this solution directly on a test subdirectory of the = Jmol web site. Could you give me write access to such a test subdirectory ? Nicolas From: nve...@cl...=20 De: Daniel Leidert=20 >Nicolas Vervelle:=20 >> From: "Daniel Leidert"=20 >> > A question to you guys: Why not using content negotiation to = provide=20 >> > translated websites? I saw, that the translated files are called=20 >> > site_fr.xml. Is there any reason, why don't you call them = site.fr.xml=20 >> > and use content negotiation (this would make it necessary to = rename the=20 >> > English source files to *.en.xml and rewrite all urls into their=20 >> > canonical forms (I will help to do this, if necessary). But if = there is=20 >> > no restriction from Sourceforge ('DirectoryIndex' has to be = expanded=20 >> > with 'index'), it would be a quite better way than the solution = to put=20 >> > all translation files into ./fr/. Maybe you should check out this = >> > possibility first, before proceeding.=20 >>=20 >We can test the capabilities before the decision. We only need 2=20 >test-files (index.fr.html and index.en.html) and a .htaccess. Then we = >can test it.=20 You can use some simple files from jmol web site if you want to test = it : www.jmol.org/websites/index.html for english version www.jmol.org/fr/websites/index.html for french version I don't have write access to jmol web site, so I can't test it. |