LibUnicode: Add public wrapper for the generated locale_from_string

This commit is contained in:
Timothy Flynn 2021-09-05 12:16:35 -04:00 committed by Linus Groh
commit 12ae0a44d7
Notes: sideshowbarker 2024-07-18 04:36:53 +09:00
2 changed files with 10 additions and 0 deletions

View file

@ -119,6 +119,7 @@ Optional<String> canonicalize_unicode_locale_id(LocaleID&);
String const& default_locale();
bool is_locale_available(StringView locale);
Optional<Locale> locale_from_string(StringView locale);
Optional<StringView> get_locale_language_mapping(StringView locale, StringView language);
Optional<StringView> get_locale_territory_mapping(StringView locale, StringView territory);