Apache Reference: mod_negotiation, LanguagePriority

LanguagePriority

Precedence of Language Variants
Syntax: LanguagePriority lang [lang ...]
Example: LanguagePriority de en
Since: Apache 1.0

This directive sets the precedence of language variants when the client does not express a preference in handling an Option MultiViews request. The lang arguments appear in order of decreasing preference. For instance, if ``LanguagePriority en fr de'' is used, then a request for ``foo.html'', where ``foo.html.fr'' and ``foo.html.de'' both exist, but the browser does not express a language preference, will return ``foo.html.fr''. Note that this directive has an effect only if a ``best'' language cannot be determined by any other means. Correctly implemented HTTP/1.1 requests will override this directive.