qmetrics.net

ICU

Unicode and globalization libraries for C, C++, and Java

ICU screenshot

ICU provides C/C++ and Java libraries for Unicode text, locales, and internationalization in applications. It is maintained under the Unicode Consortium and tracks Unicode and CLDR data.

Overview

International Components for Unicode (ICU) is a set of libraries that give applications Unicode and globalization support. Implementations exist for C and C++ (ICU4C) and for Java (ICU4J), with the goal of consistent behavior across environments where native stacks may be incomplete or differ by platform.

Documented capabilities include converting text between Unicode and many other encodings, locale-aware string collation, formatting numbers dates times and currency, calendar and timezone helpers, Unicode character properties and normalization, regular expressions with Unicode support, bidirectional text, and locating word sentence or line boundaries for display.

ICU4C is positioned as a portable foundation for C and C++ programs that need standards-aligned text handling. ICU4J extends Java’s internationalization APIs with updated Unicode support, extra APIs, and performance work while aiming to stay compatible with familiar Java text APIs.

The effort is widely used in production software; public materials list many companies and products that rely on ICU. ICU is released under a nonrestrictive open source license suitable for commercial and other open source use.

Key features

  • Unicode and charset conversion
  • Locale-aware collation and sorting
  • Number, date, time, and currency formatting
  • Calendars and timezone APIs
  • Unicode properties and normalization
  • Unicode-capable regular expressions
  • Bidirectional text support
  • Text boundary and break iteration

Use cases

  • Globalized desktop and server applications
  • Shared C++ and Java localization behavior
  • Locale-driven sorting and formatting
  • Products that must track new Unicode releases

Tags

Similar software

github-chinese

Userscript localization of the GitHub web interface

GitHub 中文化插件 translates GitHub’s English UI into Chinese using a maintained dictionary and regex rules. It runs as a browser userscript with optional machine translation for repository descriptions.

  • Chinese UI translation for GitHub pages
  • Regex and per-page dictionary matching
  • Repository description machine translation
JavaScriptAndroid, Browser extensionDetails →
★ 39.9k⟳ 4 days agoGPL-3.0

i18next

JavaScript internationalization and translation framework

i18next loads and applies translation files in browser, Node.js, and Deno apps. It handles plurals, context, nesting, variables, backends, caching, and language detection.

  • Runtime and build-time translation
  • Plural and context rules
  • Backend translation loading
JavaScriptWeb, CLIDetails →
★ 8.7k⟳ todayMIT

Argos Translate

Open-source offline neural machine translation for Python

Argos Translate is a Python library for offline translation using installable language model packages.

  • Offline Python translation API
  • Installable .argosmodel language packages
  • Command-line translation interface
PythonLinux, Windows, CLIDetails →
★ 6.7k⟳ 6 days agoMIT · open core

JS Lingui

Compile-time i18n macros for JavaScript and TypeScript

Lingui is a lightweight internationalization library with compile-time macros and a CLI. It targets React, React Native, Vue, SolidJS, Astro, Svelte, and plain Node with PO catalog extraction.

  • Compile-time Trans macros for UI text
  • CLI extract and compile PO catalogs
  • React, Vue, Solid, and React Native packages
TypeScriptCLIDetails →
★ 5.9k⟳ 15 days agoMIT

Python Pinyin

Chinese hanzi to pinyin conversion library

python-pinyin (pypinyin) converts Chinese characters to phonetic pinyin for notation, sorting, and search. It handles heteronyms and multiple romanization styles.

  • Phrase-aware pinyin mapping
  • Heteronym support
  • Multiple romanization styles
PythonDetails →
★ 5.4k⟳ 1 month agoMIT

Globalize

CLDR-based JavaScript internationalization library

Globalize formats and parses numbers, dates, and messages using official Unicode CLDR JSON data. It runs in browsers and as a Node.js module with modular feature packages.

  • Unicode CLDR JSON locale data
  • Number, currency, and percent formatting
  • Date and time parsing and display
JavaScriptWebDetails →
★ 4.8k⟳ 17 days agoMIT