diff options
author | James A. Treacy <treacy> | 1999-06-09 17:08:12 +0000 |
---|---|---|
committer | James A. Treacy <treacy> | 1999-06-09 17:08:12 +0000 |
commit | 28896ba93bccf02cb5eb95bbc3e499e199caa5f8 (patch) | |
tree | 103236cb008d4c0b680d3a4fc40c26e50b545724 | |
parent | 16fd86172592aa124285cbb393e010fb886eed15 (diff) |
the section on setting the preferred language is clearer
CVS version numbers
english/intro/cn.wml: 1.13 -> 1.14
-rw-r--r-- | english/intro/cn.wml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/english/intro/cn.wml b/english/intro/cn.wml index 7747ed87c01..7b22a3236bc 100644 --- a/english/intro/cn.wml +++ b/english/intro/cn.wml @@ -67,12 +67,18 @@ This tells the server that you would like the French version of the document if available, otherwise use the English one. <p>One thing you need to be careful of is using sub-categories of languages. -Using 'en-GB, fr' does not do what most people who have not read the http specification -think it should. A server that receives that for a document with a .en and .fr version -will serve the French one. It will only serve an English document that uses .en-gb -for the language extension. Thus, you should configure your browser to send -'en-GB, en, fr' or simply 'en, fr' instead. It does work the other way though, -e.g. a server can return en-us when en is requested. +Using 'en-GB, fr', for example, does not do what most people expect (if they have +not read the http specification). +A server that receives a request for a document with a preferred language of +'en-GB, fr' when both an 'en' and 'fr' version exist will serve the French one. +It will only serve the English document before the French one if there is +a version of the file with .en-gb for the language extension. +Thus, you should configure your browser to send 'en-GB, en, fr' or simply 'en, fr'. +It does work the other way though, e.g. a server can return en-us when en is requested. + +<p><strong>We strongly recommend that you do not add country extensions to a language +unless you have good reason</strong>. If you do add one, make sure you also include +the language without the extension. <P>For more information about setting the preferred_language variable see the <a href="http://www.apache.org/docs/content-negotiation.html">Apache |