When a web browser sends a request, it might include a header like: Accept-Language: en-US, th-TH;q=0.9
The string breaks down into two distinct parts defined by the HTTP/1.1 specification :
: Developers use these strings to match user OS settings with available translation files. 0.9,th-TH
The server analyzes this list to determine which version of a page to serve:
While primarily used in HTTP, this syntax appears in other technical environments: When a web browser sends a request, it
This string is a specific component used in , specifically within the Accept-Language header. It communicates a user's preference for Thai (Thailand) with a weighted "quality" (q-factor) of 0.9 . 1. Technical Decomposition
: The server looks for a version in US English ( q=1.0 by default). 3. Contextual Variance
: If neither is found, the server provides its own default language. 3. Contextual Variance