Does ICU4C have any equivalent to ICU4J's LocaleMatcher
, for finding the best match between an application's set of supported locales and a user's list of preferred locales?
Asked
Active
Viewed 99 times
2 Answers
2
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

Markus Scherer
- 66
- 2
1
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.

kpozin
- 25,691
- 19
- 57
- 76