messageformat

ICU MessageFormat for Javascript - i18n Plural and Gender Capable Messages

Github星跟蹤圖

The experience and subtlety of your program's text can be important. Messageformat is a mechanism for handling both pluralization and gender in your applications. It can also lead to much better translations, as it's designed to support all the languages included in the Unicode CLDR.

This monorepo consists of the following packages that make up our JS implementation of ICU MessageFormat:

Getting Started

npm install --save-dev messageformat@next
npm install --save messageformat-runtime

This includes the MessageFormat compiler and a runtime accessor class that provides a slightly nicer API for working with larger numbers of messages. Our Format Guide will help with the ICU MessageFormat Syntax, and the Usage Guide provides some options for integrating messageformat to be a part of your workflow around UI texts and translations.


Messageformat is an OpenJS Foundation project, and we follow its Code of Conduct.

主要指標

概覽
名稱與所有者messageformat/messageformat
主編程語言TypeScript
編程語言HTML (語言數: 4)
平台
許可證MIT License
所有者活动
創建於2012-01-25 12:56:20
推送於2025-05-14 17:26:23
最后一次提交
發布數151
最新版本名稱messageformat@4.0.0-12 (發布於 2025-05-14 20:20:27)
第一版名稱v0.1.0 (發布於 2012-02-28 05:02:14)
用户参与
星數1.7k
關注者數31
派生數156
提交數1.6k
已啟用問題?
問題數220
打開的問題數12
拉請求數183
打開的拉請求數4
關閉的拉請求數43
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?