T
Toby Inkster
WindAndWaves said:Hmmmm, maybe it is a good idea, it is difficult to setup?
If you have Apache's MultiViews feature turned on, it's as easy as
creating files like:
index.en.html
index.fr.html
index.de.html
index.zh.pdf
Then if you link to just "index" (no extension) Apache will automatically
serve the most appropriate index file based on the user's language as
reported by the browser, and based on why file types the browser can
understand (which is why I threw in a Chinese PDF as an example!)
Of course, it's a good idea to link between them all. So that from
index.en.html there is a link to index.fr.html, index.de.html and
index.zh.pdf -- just in case the auto-detection goes wrong.