1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 22:15:07 +00:00
serenity/Userland/Libraries/LibUnicode
Timothy Flynn c86f7a675d LibUnicode: Do not limit language display names to known locales
Currently, the UnicodeLocale generator collects a list of known locales
from the CLDR before processing language display names. For each locale,
the identifier is broken into language, script, and region subtags, and
we create a list of seen languages. When processing display names, we
skip languages we hadn't seen in that first step.

This is insufficient for language display names like "en-GB", which do
not have an locale entry in the CLDR, and thus are skipped. So instead,
create the list of known languages by actually reading through the list
of languages which have a display name.
2022-01-13 23:05:31 +01:00
..
CharacterTypes.cpp LibUnicode: Convert UnicodeData to link with weak symbols 2022-01-04 22:49:43 +00:00
CharacterTypes.h LibUnicode: Convert UnicodeData to link with weak symbols 2022-01-04 22:49:43 +00:00
CMakeLists.txt LibUnicode: Implement TR-35's localized GMT offset formatting 2022-01-11 23:56:35 +01:00
CurrencyCode.cpp LibUnicode: Add some data related to currency codes 2021-09-11 11:05:50 +01:00
CurrencyCode.h LibUnicode: Add some data related to currency codes 2021-09-11 11:05:50 +01:00
DateTimeFormat.cpp LibUnicode: Fall back to GMT offset when a time zone name is unavailable 2022-01-11 23:56:35 +01:00
DateTimeFormat.h LibUnicode: Implement TR-35's localized GMT offset formatting 2022-01-11 23:56:35 +01:00
Forward.h LibUnicode: Do not limit language display names to known locales 2022-01-13 23:05:31 +01:00
Locale.cpp LibUnicode: Add a method to combine locale subtags into a display string 2022-01-13 23:05:31 +01:00
Locale.h LibUnicode: Add a method to combine locale subtags into a display string 2022-01-13 23:05:31 +01:00
NumberFormat.cpp LibUnicode: Parse number system digits from the CLDR 2022-01-12 10:49:07 +01:00
NumberFormat.h LibUnicode: Parse number system digits from the CLDR 2022-01-12 10:49:07 +01:00