All Projects → unicode-org → Icu4x

unicode-org / Icu4x

Licence: other
Solving i18n for client-side and resource-constrained environments.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Icu4x

Locale2
💪 Try as hard as possible to detect the client's language tag ("locale") in node or the browser. Browserify and Webpack friendly!
Stars: ✭ 65 (-76.36%)
Mutual labels:  localization, unicode, internationalization
Js Lingui
🌍📖 A readable, automated, and optimized (5 kb) internationalization for JavaScript
Stars: ✭ 3,249 (+1081.45%)
Mutual labels:  localization, internationalization, icu
Eo Locale
🌏Internationalize js apps 👔Elegant lightweight library based on Internationalization API
Stars: ✭ 290 (+5.45%)
Mutual labels:  localization, internationalization, icu
cldr-engine
Internationalization and localization in Typescript with Unicode CLDR, batteries included
Stars: ✭ 34 (-87.64%)
Mutual labels:  unicode, internationalization, localization
inlang
Open Source Localization Solution for Software.
Stars: ✭ 160 (-41.82%)
Mutual labels:  internationalization, localization
django-autotranslate
A simple Django app to automatically translate the pot (.po) files generated by django's makemessages command using google translate.
Stars: ✭ 59 (-78.55%)
Mutual labels:  internationalization, localization
Angular-Gulp-Boilerplate
Clean but full-featured AngularJS boilerplate using Gulp workflow and best practices
Stars: ✭ 30 (-89.09%)
Mutual labels:  internationalization, localization
Mojito
An automation platform that enables continuous localization.
Stars: ✭ 256 (-6.91%)
Mutual labels:  localization, internationalization
i18n.cr
Internationalization API ( i18n ) for Crystal!
Stars: ✭ 36 (-86.91%)
Mutual labels:  internationalization, localization
intl-format
A wrapper library for PHP to format and internationalize values in messages like sprintf
Stars: ✭ 12 (-95.64%)
Mutual labels:  internationalization, icu
rosetta
A blazing fast internationalization (i18n) library for Crystal with compile-time key lookup.
Stars: ✭ 23 (-91.64%)
Mutual labels:  internationalization, localization
blazor-ui-messages
Localization messages for Telerik UI for Blazor components: https://www.telerik.com/blazor-ui
Stars: ✭ 24 (-91.27%)
Mutual labels:  internationalization, localization
i18n
internationalize projects to Arabic
Stars: ✭ 67 (-75.64%)
Mutual labels:  internationalization, localization
stringx
Drop-in replacements for base R string functions powered by stringi
Stars: ✭ 14 (-94.91%)
Mutual labels:  unicode, icu
MOLH
Localization helper for iOS apps mainly focusing on the LTR/RTL issue
Stars: ✭ 104 (-62.18%)
Mutual labels:  internationalization, localization
icu-dotnet
C# wrapper for ICU4C
Stars: ✭ 48 (-82.55%)
Mutual labels:  unicode, icu
flutter-internationalization
Flutter Internationalization by Using JSON Files
Stars: ✭ 18 (-93.45%)
Mutual labels:  internationalization, localization
plate
Internationalization library for Python
Stars: ✭ 31 (-88.73%)
Mutual labels:  internationalization, localization
labels
Bolt Labels extension - Translatable labels for Bolt
Stars: ✭ 18 (-93.45%)
Mutual labels:  internationalization, localization
python-fluent
Python implementation of Project Fluent
Stars: ✭ 142 (-48.36%)
Mutual labels:  internationalization, localization

ICU4X Docs Build Status Coverage Status (Coveralls) Coverage Status (Codecov)

Welcome to the home page for the ICU4X project.

ICU4X provides components enabling wide range of software internationalization. It draws deeply from the experience of ICU4C, ICU4J and ECMA-402 and relies on data from the CLDR project.

The design goals of ICU4X are:

  • Small and modular code
  • Pluggable locale data
  • Availability and ease of use in multiple programming languages
  • Written by i18n experts to encourage best practices

Stay informed! Join our public, low-traffic mailing list: [email protected]. Note: After subscribing, check your spam folder for a confirmation.

Documentation

For an introduction to the project, please visit Introduction to ICU4X for Rust tutorial.

For technical information on how to use ICU4X, visit our API docs.

More information about the project can be found in the docs subdirectory.

Quick Start

An example ICU4X powered application in Rust may look like this:

icu = "0.1"
icu_provider_fs = "0.1"
use icu::locid::macros::langid;
use icu::datetime::{DateTimeFormat, date::MockDateTime, options::style};
use icu_provider_fs::FsDataProvider;

fn main() {
    let lid = langid!("ar");

    let date: MockDateTime = "2020-10-14T13:21:00".parse()
        .expect("Failed to parse a date time.");

    let provider = FsDataProvider::try_new("./icu4x-data")
        .expect("Failed to initialize Data Provider.");

    let options = style::Bag {
        time: Some(style::Time::Medium),
        date: Some(style::Date::Long),
        ..Default::default()
    }.into();

    let dtf = DateTimeFormat::try_new(lid, &provider, &options)
        .expect("Failed to initialize Date Time Format");

    let formatted_date = dtf.format(&date);

    println!("📅: {}", formatted_date);
}

Development

ICU4X is developed by the ICU4X-SC. We are a subcommittee of ICU-TC in the Unicode Consortium focused on providing solutions for client-side internationalization. See unicode.org for more information on our governance.

Please subscribe to this repository to participate in discussions. If you want to contribute, see our contributing.md.

Charter

For the full charter, including answers to frequently asked questions, see charter.md.

ICU4X is a new project whose objective is to solve the needs of clients who wish to provide client-side i18n for their products in resource-constrained environments.

ICU4X, or "ICU for X", will be built from the start with several key design constraints:

  1. Small and modular code.
  2. Pluggable locale data.
  3. Availability and ease of use in multiple programming languages.
  4. Written by i18n experts to encourage best practices.

ICU4X will provide an ECMA-402-compatible API surface in the target client-side platforms, including the web platform, iOS, Android, WearOS, WatchOS, Flutter, and Fuchsia, supported in programming languages including Rust, JavaScript, Objective-C, Java, Dart, and C++.

Benchmark dashboards

Component Runtime
locid link
uniset link
fixed_decimal link
plurals link
datetime link
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].