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
142 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++
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Why can't I use templates members in its specialization?
- How to fix "Access violation executing location" when using GLFW and GLAD
- Dynamic array of structures in C++/ cannot fill a dynamic array of doubles in structure from dynamic array of structures
- How do I apply the interface concept with the base-class in design?
- File refuses to compile std::erase() even if using -std=g++23
- How can I do a successful map when the number of elements to be mapped is not consistent in Thrust C++
- Can std::bit_cast be applied to an empty object?
- Unexpected inter-thread happens-before relationships from relaxed memory ordering
- How i can move element of dynamic vector in argument of function push_back for dynamic vector
- Brick Breaker Ball Bounce
- Thread-safe lock-free min where both operands can change c++
- Watchdog Timer Reset on ESP32 using Webservers
- How to solve compiler error: no matching function for call to 'dmhFS::dmhFS()' in my case?
- Conda CMAKE CXX Compiler error while compiling Pytorch
Related Questions in INTERNATIONALIZATION
- Do GTK file chooser dialogs come with localized strings for buttons and titles?
- Difficulty with hosting Multilingual Wagtail site on alwaysdata
- Does the language used in schema need to match the HTML lang attribute?
- Next.js 14: using next-intl to change the language, redirects me to home page whenever I change the language
- next-i18next Problem with multiple links redirecting to the same location
- Python transliterator that holds the same rules as PHP one
- Using React Intl without a key
- Storybook build with i18n not worked
- ForceRTL on iOS isn't working in React Native App
- i18n Attaching variable in the middle of a string
- RN i18n issue on some iOS devices
- Next.js: SyntaxError: Named export 'i18n' not found
- nextjs 13, 14 App Directory language without i18n - internalization
- Django translation doesnt work in python code
- Nuxt.js i18n Not Serving Pages in Default Locale Without Redirecting
Related Questions in ICU
- Deploy PyICU in AWS Lambda
- Python transliterator that holds the same rules as PHP one
- RStudio not opening: error while loading shared libraries libicuuc.so.57
- Installing the intl extension with docker for php takes too long
- Missing Arabic numbers when formatting date using IntlDateFormatter on PHP 8.2 and newest Alpine Linux 3.19
- How to combine icu4x word segmenter with additional dictionary
- ReferenceError: Intl is not defined
- Polyglot Dependencies Causes Trouble During Multi Stage Containerization (Python) - Docker
- How do I get `NumberFormatter` to output parentheses for negative values?
- Cross building ICU (from Conan) for Windows with Clang-CL
- Slowdown Crowdin when using ICU
- ICU binaries seem incomplete when building from source
- Wrong include directory when ICU_ROOT is defined for FindICU.cmake
- Can I query the Unicode version of an Android device programatically?
- Sorting-friendly language names with Intl.DisplayNames
Related Questions in CLDR
- Given a language, how to get its alphabet letters
- Sorting-friendly language names with Intl.DisplayNames
- How to normalize semantically same language tags? [cldr]
- getDateTimeInstance(): Different Behavior for Different Locale
- How does the CLDR define its rules for month abbreviations - specifically for en_CA?
- Getting error while trying to install cldr
- Adding a UCA Collation to a Unicode Character Set, why it is doesn't work?
- Using specific CLDR version without updating Java version
- Idiomatic way to remove country code from currency format?
- Write TypeScript declaration file for callable module
- Bug or Feature? Java 16 DateTimeFormatter issue with parsing localized month name
- How to transliterate into chinese with icu?
- How do I stop a dynamic number and type of statements from executing until a series of ajax calls completes?
- How to use unsupported Locale in Java 11 and numbers in String.format()
- Explicit Plural string using iOS Stringsdict files
Related Questions in ICU4C
- How do I install specific icu4c version via homebrew?
- charlock_holmes and icu4c LoadError
- 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
- ICU4C does not tokenize Japanese correctly
- Need help to compile and run c++ source file with icu4c
- How to build ICU4C 70.1 on HP UX platform?
- icu4c unicharset_extractor error Tesseract font training
- ICU, uconv doesn't show all encodings
- brew install specific version of a package fails
- Switch icu4c version (Homebrew)
- How to free an icu::Transliterator?
- macos 10.12 upgrade to icu4c 67.1 failed
- ICU4C austrdup function
- Unable to extract Unicode symbols from C++ std::string
- How to parse icu::UnicodeString to an Integer or Float in ICU4C C++11?
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 # Hahtags
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