parse for script
Closed this issue · 1 comments
srl295 commented
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.
tinganho commented
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.