1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:27:35 +00:00

LibUnicode: Add a method to combine locale subtags into a display string

This is just a convenience wrapper around the underlying generated APIs.
This commit is contained in:
Timothy Flynn 2022-01-13 13:12:03 -05:00 committed by Linus Groh
parent 91acc2e9c5
commit b0671ceb74
2 changed files with 35 additions and 0 deletions

View file

@ -158,6 +158,7 @@ Optional<ListPatternType> list_pattern_type_from_string(StringView list_pattern_
Optional<ListPatternStyle> list_pattern_style_from_string(StringView list_pattern_style);
Optional<DisplayPattern> get_locale_display_patterns(StringView locale);
Optional<String> format_locale_for_display(StringView locale, LocaleID locale_id);
Optional<StringView> get_locale_language_mapping(StringView locale, StringView language);
Optional<StringView> get_locale_territory_mapping(StringView locale, StringView territory);