c++internationalizationicucldricu4c

ICU4C equivalent of LocaleMatcher


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?


Solution

  • 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