Other

项目介绍

unicode-org/icu4x 是一个托管在 GitHub 上的开源项目,主要使用 Rust 编写,采用 Other 许可证,目前获得 1.9k 个 Star、300 次 Fork。

仓库全名
unicode-org/icu4x
开源许可证
Other
Star 数
1.9k
Fork 数
300
未关闭 Issue
773

README 摘要

Welcome to ICU4X ICU4X provides components enabling wide range of software internationalization. It draws deeply from the experience of ICU4C/J, ECMA-402 and relies on data from the CLDR project. ICU4X is fully implemented in the Rust programming language. The design goals of ICU4X are: Small and modular code Pluggable locale data Availability and ease of use in multiple programming languages Written by…

完整内容见 GitHub 原始 README 或本页 。

常见问题

icu4x 用什么语言开发?

主要使用 Rust 编写,采用 Other 许可证,目前有 1.9k 个 Star。

icu4x 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 icu4x 的源码?

可以直接克隆仓库:git clone https://github.com/unicode-org/icu4x.git,默认分支为 main;安装与运行步骤见仓库 README。

icu4x 最近还在维护吗?

仓库最近一次更新为 2 天前,当前有 773 个未关闭 Issue;Star 数为 1.9k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Solving i18n for client-side and resource-constrained environments.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
2509
价值分
1181
活跃状态
活跃

语言占比

C++
Dart
Dockerfile
HTML
JavaScript
Jinja
Kotlin
Makefile
Rust
SCSS
Shell
WebAssembly

Release

README

Logo

Welcome to ICU4X

crates.io npm pub.dev

Build Status Coverage Status (Coveralls) Coverage Status (Codecov)

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

ICU4X is fully implemented in the Rust programming language.

The design goals of ICU4X are:

  • Small and modular code
  • Pluggable locale data
  • Availability and ease of use in multiple programming languages
  • Written by internationalization 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.

For more information, please visit our website.

Quick Start

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

Cargo.toml:

[dependencies]
icu = "2.0.0"

src/main.rs:

use icu::calendar::Date;
use icu::datetime::{DateTimeFormatter, fieldsets::YMD};
use icu::locale::locale;

let dtf = DateTimeFormatter::try_new(
    locale!("es").into(),
    YMD::long()
)
.expect("locale should be present in compiled data");

let date = Date::try_new_iso(2020, 9, 12).expect("date should be valid");

let formatted_date = dtf.format(&date).to_string();
assert_eq!(
    formatted_date,
    "12 de septiembre de 2020"
);

Development

ICU4X is developed by the ICU4X Technical Committee (ICU4X-TC) in the Unicode Consortium. The ICU4X-TC leads strategy and development of internationalization solutions for modern platforms and ecosystems, including client-side and resource-constrained environments. See unicode.org for more information on our governance.

ICU4X-TC convenes approximately once per quarter in advance of ICU4X releases. Most work in the interim takes place in the ICU4X Working Group (ICU4X WG), which makes technical recommendations, lands them in the repository, and records them in CHANGELOG.md. The recommendations of ICU4X WG are subject to approval by the ICU4X-TC.

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 internationalization 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 internationalization 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++.

Copyright © 2020-2024 Unicode, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the United States and other countries.

The project is released under LICENSE, the free and open-source Unicode License, which is based on the well-known MIT license, with the primary difference being that the Unicode License expressly covers data and data files, as well as code. For further information please see The Unicode Consortium Intellectual Property, Licensing, and Technical Contribution Policies.

A CLA is required to contribute to this project - please refer to the CONTRIBUTING.md file (or start a Pull Request) for more information.

The contents of this repository are governed by the Unicode Terms of Use.

评论

暂无评论