bcp47 (hackage): Language tags for use in cases where it is desirable to indicate the language used in an information object.   - https://tools.ietf.org/html/bcp47  This package exposes a language tag data type BCP47 and a Trie data structure for collecting and querying information that varies based on language tag.
Keywords: data|data-structures|library|mit