3 ms·
I think thats bad logic on the server side and not to do with the concept of Accept-Language though. I would think the ideal prioritisation should probably be:
by dijit 1y ago
I think thats bad logic on the server side and not to do with the concept of Accept-Language though.
I would think the ideal prioritisation should probably be:
* Exact (en_GB)
* Exact (fr_CA)
* Soft (en_*) // Any variant of English you might have available
* Soft (fr_*) // Any variant of French you might have available
* Translated. (to first preferred)
for Accept-Language: “en_GB,fr_CA”
- Vinnl 1y agoI don't think Accept-Language supports "Translated", "Exact" or "Soft"? But yes, that would match the language setting that GGP asked for.
- bmn__ 1y agoThis is expressed as the quality parameter. To make the system GP proposed work atop HTTP content-negotiation, a server operator should assign a very small number to the automatically translated content.
- Vinnl 1y agoIsn't that parameter sent in the Request? (Also note that I wasn't talking about automatically translated content necessarily. Manually translated content still often is of worse quality than the original language.)