Open
Description
openedon Nov 12, 2020
Resolving from a list of requested locales (via Accept-Languages
header for example) to a list of supported locales for a certain website. See vercel/next.js#18676 for example.
Existing locale matching libraries are fairly rudimentary (exact match only). We already have LookupMatcher
/BestAvailableLocale
/ResolveLocale
abstract operations that take into account extensions as well so IMO we should make a top level API for this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment