-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
For some major languages, 2-letter code is inadequate/insufficient.
Consider the Chinese language, which has 2 scripts, simplified and traditional. Those would be described as 5-character locale code zh-cn, zh-sg (simplified) and zh-tw, zh-hk (traditional).
It would be nice if your module could work with 5-character locale codes and some kind of user-defined locale-to-locale mapping.
You can see an example of my method I wrote in PHP Language Detector.
Metadata
Metadata
Assignees
Labels
No labels