Sun Java System Web Server 7.0 Update 8 Administrator's Guide

ProcedureSearch Order

  1. The Accept-language list fr-CH,de.

    http://www.someplace.com/fr_ch/somepage.html

    http://www.someplace.com/somepage_fr_ch.html

    http://www.someplace.com/de/somepage.html

    http://www.someplace.com/somepage_de.html

  2. Language codes without the country codes (fr in the case of fr-CH):

    http://www.someplace.com/fr/somepage.html

    http://www.someplace.com/somepage_fr.html

  3. The DefaultLanguage, such as en, defined in the magnus.conf file.

    http://www.someplace.com/en/somepage.html

    http://www.someplace.com/somepage_en.html

  4. If none of these are found, the server tries:

    http://www.someplace.com/somepage.html


    Note –

    When naming localized files, keep in mind that country codes like CH and TW are converted to lower case and dashes (-) are converted to underscores (_).



    Caution – Caution –

    Enabling the acceptlanguage setting has a performance penalty since the server has to check for content in every language specified in the accept-language according to the algorithm illustrated above.