简体   繁体   中英

ICU4C equivalent of LocaleMatcher

ICU4C 是否有任何等效于 ICU4J 的LocaleMatcher ,用于在应用程序的受支持区域设置集和用户首选区域设置列表之间找到最佳匹配?

ICU 65 (October 2019) will have a C++ LocaleMatcher. I merged this into the master branch today: https://github.com/unicode-org/icu/pull/714

There's an existing feature request to port LocaleMatcher to in C++. In the C API, there's uloc_acceptLanguage , but it's less convenient to use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM