mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
LibUnicode: Download Unicode's CLDR database and generate locale data
The Unicode standard publishes a database known as the Common Locale Data Repository (CLDR). This is a massive set of data from which anyone implementing Unicode's Technical Standard #35 may generate their implementation: https://www.unicode.org/reports/tr35/ This commit updates LibUnicode to download the compressed database and extract a small subset. That subset is used to generate a list of available locales and the territories (AKA regions) associated with each locale.
This commit is contained in:
parent
262e412634
commit
ea21573ed8
4 changed files with 400 additions and 1 deletions
|
@ -12,11 +12,14 @@ namespace Unicode {
|
|||
|
||||
enum class Condition : u8;
|
||||
enum class GeneralCategory : u8;
|
||||
enum class Language : u8;
|
||||
enum class Locale : u8;
|
||||
enum class Property : u8;
|
||||
enum class Script : u8;
|
||||
enum class Territory : u8;
|
||||
enum class WordBreakProperty : u8;
|
||||
|
||||
struct LocaleData;
|
||||
struct SpecialCasing;
|
||||
struct UnicodeData;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue