tinganho / node-accept-language

BCP47 language negotiation
MIT License
85 stars 15 forks source link

region / narrower match seems to be wrong #35

Closed SebC99 closed 3 years ago

SebC99 commented 4 years ago

Why would it return 'en-US' instead of 'zh-CN'?

https://github.com/tinganho/node-accept-language/blob/91a97435113339f3ce96052e871cfd83766d327c/Tests/Test.ts#L96-L99

tinganho commented 3 years ago

I responded here: https://github.com/tinganho/node-accept-language/issues/37#issuecomment-821071845