Could it be feasible to introduce a Locale phantom type? Perhaps more narrowly a "http locale" type, following the rules of the Accept-Language header specification (https://httpwg.org/specs/rfc7231.html#header.accept-language). I don't mean that Locale would represent the whole header value but rather that the header value would be split into multiple locales.
Could it be feasible to introduce a
Localephantom type? Perhaps more narrowly a "http locale" type, following the rules of theAccept-Languageheader specification (https://httpwg.org/specs/rfc7231.html#header.accept-language). I don't mean thatLocalewould represent the whole header value but rather that the header value would be split into multiple locales.