: This identifies the language as Thai ( th ) and the region as ( TH ).
: Developers use these strings to match user OS settings with available translation files. 0.9,th-TH
The string breaks down into two distinct parts defined by the HTTP/1.1 specification : : This identifies the language as Thai (
: Often written as q=0.9 , this is a Relative Quality Factor . It ranks user preferences on a scale from 0.0 to 1.0. A value of 0.9 indicates it is a secondary preference if a primary language (defaulting to q=1.0 ) is unavailable. 2. Practical Application: How Servers Use It It ranks user preferences on a scale from 0
The server analyzes this list to determine which version of a page to serve:
When a web browser sends a request, it might include a header like: Accept-Language: en-US, th-TH;q=0.9
: Used by clients to request specific data formats or localized error messages from RESTful APIs. Summary Table: Component Meanings th Language Code ISO 639-1 code for Thai TH Region Code ISO 3166-1 alpha-2 code for Thailand 0.9 90% weight ; high priority but not the absolute first choice
© Copyright 2025 BETA CAE Systems All rights reserved
Legal Information | Data Protection & Privacy Policy | Cookies Policy | Modern Slavery Act Policy | Contacts