Closed srl295 closed 8 years ago
var acceptLanguage = require('accept-language'); acceptLanguage.parse('zh-Hant-TW');
this correctly gets TW as the region, but does not parse out the script Hant into the result.
TW
Hant
I think I'm leaning towards to remove region and just return the define set of languages as an array of strings and as oppose to an array of structures.
this correctly gets
TW
as the region, but does not parse out the scriptHant
into the result.