Language selection algorithm

A Language selection algorithm selects the appropriate language after evaluating the override criteria and the quality values specified. If multiple languages are specified, then the algorithm checks the various options in descending order of priority. For example, if the client requests this URL with en, fr specified in the accept-language header:

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

EAServer first looks for:

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

If not found, the server looks for:

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

If this is not found, the server tries to load the default page:

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

Similarly, for static Web resources in a Web applications, the language name tag is prefixed to the static web resource URL to construct the URL for the resource. EAServer provides multiple language support to the following Web application resources: