You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @th-mustache-dk, the "_" in locale identifiers were from iOS world :) Please check the version 4.2.0 where this is now fixed. Thanks for reporting an issue!
According to the RFC, locale identifiers in headers uses "-" to separate language from country code
https://httpwg.org/specs/rfc7231.html#header.accept-language
Therefore the code should be corrected to use "-"
Perhaps some logic from https://github.com/matsoftware/accept-language-parser can be used.
The text was updated successfully, but these errors were encountered: