Updated the Negotiate method in the Localization package to add explicit language requests.

This commit is contained in:
2026-08-30 19:05:52 +02:00
parent 79cfb42fbb
commit 9b16ce3339
3 changed files with 57 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ The server-side localization toolkit the platform's services build on: locale-ex
| Role | Types |
| --- | --- |
| Lookup | `Localize`, a bundle-bound localizer that resolves a catalog key for an explicit locale |
| Negotiation | `Negotiate`, which picks the best supported language from an `Accept-Language` header per RFC 9110 |
| Negotiation | `Negotiate`, which picks the best supported language from an explicit request or an `Accept-Language` header per RFC 9110 |
| Languages | `LanguageList`, the supported and default languages a bundle's String Catalog defines |
| Diagnostics | `CatalogState`, the outcome of reading the catalog (`loaded`, `missing`, or `undecodable`) |