Popularity
8.3
Growing
Activity
9.8
Stable
12,514
138
1,240

Description

Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.

Code Quality Rank: L4
Monthly Downloads: 0
Programming language: TypeScript
License: BSD 3-clause "New" or "Revised" License
Latest version: v9.3.9

React Intl alternatives and similar libraries

Based on the "I18n And L10n" category.
Alternatively, view React Intl alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of React Intl or a related project?

Add another 'I18n And L10n' Library

README

FormatJS

Unit + Karma Tests Slack FormatJS

Sauce Browser Matrix Status

This repository is the home of FormatJS and related libraries.

Slack: Join us on Slack at formatjs.slack.com for help, general conversation and more ๐Ÿ’ฌ๐ŸŽŠ๐ŸŽ‰ You can sign-up using this invitation link.

Development

We currently use bazel to develop, along with lerna for package management.

To setup locally, first initialize the git submodule:

git submodule init
git submodule update

Now you can build & test with npm:

npm i && npm run build && npm run test

To run examples:

npm run examples

To build/test individual package:

bazel build //packages/react-intl
bazel test //packages/react-intl

Releases can be done with the following steps (must use npm):

npm run release

To publish next tag (must use npm):

npm run release:next

Published Packages

Package Version Changelog License
@formatjs/cli version [CHANGELOG](packages/cli/CHANGELOG.md) [MIT](packages/cli/LICENSE.md)
@formatjs/ecma402-abstract version [CHANGELOG](packages/ecma402-abstract/CHANGELOG.md) [MIT](packages/ecma402-abstract/LICENSE.md)
@formatjs/icu-messageformat-parser version [CHANGELOG](packages/@formatjs/icu-messageformat-parser/CHANGELOG.md) [MIT](packages/@formatjs/icu-messageformat-parser/LICENSE.md)
@formatjs/intl-datetimeformat version [CHANGELOG](packages/intl-datetimeformat/CHANGELOG.md) [MIT](packages/intl-datetimeformat/LICENSE.md)
@formatjs/intl-displaynames version [CHANGELOG](packages/intl-displaynames/CHANGELOG.md) [MIT](packages/intl-displaynames/LICENSE.md)
@formatjs/intl-getcanonicallocales version [CHANGELOG](packages/intl-getcanonicallocales/CHANGELOG.md) [MIT](packages/intl-getcanonicallocales/LICENSE.md)
@formatjs/intl-listformat version [CHANGELOG](packages/intl-listformat/CHANGELOG.md) [MIT](packages/intl-listformat/LICENSE.md)
@formatjs/intl-locale version [CHANGELOG](packages/intl-locale/CHANGELOG.md) [MIT](packages/intl-locale/LICENSE.md)
@formatjs/intl-numberformat version [CHANGELOG](packages/intl-numberformat/CHANGELOG.md) [MIT](packages/intl-numberformat/LICENSE.md)
@formatjs/intl-pluralrules version [CHANGELOG](packages/intl-pluralrules/CHANGELOG.md) [MIT](packages/intl-pluralrules/LICENSE.md)
@formatjs/intl-relativetimeformat version [CHANGELOG](packages/intl-relativetimeformat/CHANGELOG.md) [MIT](packages/intl-relativetimeformat/LICENSE.md)
@formatjs/ts-transformer version [CHANGELOG](packages/ts-transformer/CHANGELOG.md) [MIT](packages/ts-transformer/LICENSE.md)
babel-plugin-formatjs version [CHANGELOG](packages/babel-plugin-formatjs/CHANGELOG.md) [MIT](packages/babel-plugin-formatjs/LICENSE.md)
eslint-plugin-formatjs version [CHANGELOG](packages/eslint-plugin-formatjs/CHANGELOG.md) [MIT](packages/eslint-plugin-formatjs/LICENSE.md)
intl-messageformat version [CHANGELOG](packages/intl-messageformat/CHANGELOG.md) [BSD](packages/intl-messageformat/LICENSE.md)
react-intl version [CHANGELOG](packages/react-intl/CHANGELOG.md) [BSD](packages/react-intl/LICENSE.md)

Big Thanks

Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs


*Note that all licence references and agreements mentioned in the React Intl README section above are relevant to that project's source code only.