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?
ICU4C equivalent of LocaleMatcher
141 Views Asked by kpozin At
2
There are 2 best solutions below
0
kpozin
On
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.
Related Questions in C++
- C++ using std::vector across boundaries
- Linked list without struct
- Connecting Signal QML to C++ (Qt5)
- how to get the reference of struct soap inherited in C++ Proxy/Service class
- Why we can't assign value to pointer
- Conversion of objects in c++
- shared_ptr: "is not a type" error
- C++ template using pointer and non pointer arguments in a QVector
- C++ SFML 2.2 vectors
- Lifetime of temporary objects
- I want to be able to use 4 different variables in a select statement in c ++
- segmentation fault: 11, extracting data in vector
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- How can I print all the values in this linked list inside a hash table?
- Configured TTL for A record(s) backing CNAME records
Related Questions in INTERNATIONALIZATION
- How to keep a variable in the URL when using Spring LocaleChangeInterceptor
- Shared behavior state across custom elements
- Using Bootstrap Datepicker Internationally
- ResourceBundleMessagesource - No way to access all properties from a file?
- angular-translate-based custom filter
- How to localize TextAngular tooltips
- Codeigniter view in Wordpress
- grails message as argument of other message
- Play Framework 2.4.0 and I18n with Scala
- Language selector in Play 2.4 & Scala 2.11.6
- How to manage en.yml for different api version
- Spring MVC: Fallback for unknown language code in uri parameter value
- CakePHP internationalization
- Internationalize C program
- symfony2: how to parameter localization so we can have 2 languages?
Related Questions in ICU
- CrystaX with clang++ and libc++ link error with boost and icu
- Is there any API in icu::BreakIterator class that gives the token offsets in number of "bytes"?
- What regular expression engine does XCode's Find Navigator use
- uconv - Does the -x option define a transliterator or a transform?
- ICU Regex matching for non-digit and no whitespace
- ICU - Order by case before character
- Collation with ICU doesn't match POSIX collation
- Compiled shared library has dependency on specific libicuuc.so.46 version
- Making Data.Text.ICU.Convert.toUnicode report decoding failures
- ICU 51 not loading ICU data mapping table
- How to detect the script system/alphabet from UTF-8 input?
- Building Sqlite ICU with xcode
- How can I use prefix query on Korean word in Elasticsearch?
- Can Code page and locale differ?
- Display locale currency symbol using ICU C API?
Related Questions in CLDR
- Cldr issue with globalize when implementing in angular cli
- Globalize.js with MVC - missing locale
- Are the CLDR pluralization rules predefined in Rails 3 or do you have to manually define them?
- Parse twitter-cldr-js formatted number back into integer or float?
- How to use unsupported Locale in Java 11 and numbers in String.format()
- How do I stop a dynamic number and type of statements from executing until a series of ajax calls completes?
- What's the best way to get full ICU + CLDR support in React Native?
- Adding a UCA Collation to a Unicode Character Set, why it is doesn't work?
- getDateTimeInstance(): Different Behavior for Different Locale
- How to update cldrdata.jar up to latest version of CLDR (v31)?
- DateTime::Format::CLDR issues parsing long Czech dates
- Configure globalize.js to use CLDR for validating decimal numbers
- How to find the cldr name from Microsoft CultureInfo in javascript?
- In ICU, is it possible to use custom plural rules instead of CLDR rules
- JS Globalize - load json cldr
Related Questions in ICU4C
- How to free an icu::Transliterator?
- Need help to compile and run c++ source file with icu4c
- Import or Symbol not Found Error with polyglot when PyICU and icu4c installed correctly
- Switch icu4c version (Homebrew)
- dyld[8243]: Symbol not found: (_nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation) while trying php -v. PHP not working in mac intel
- How to build ICU4C 70.1 on HP UX platform?
- How to test the length of a new line when using u_fgets in ICU4C ustdio.h?
- How to parse icu::UnicodeString to an Integer or Float in ICU4C C++11?
- Issue installing icu4c 60 on OS X Lion
- ICU4C austrdup function
- brew install specific version of a package fails
- charlock_holmes and icu4c LoadError
- Validating an emoji sequence with ICU4C
- Install icu4c version 63 with Homebrew
- Unable to extract Unicode symbols from C++ std::string
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
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