Internationalize your web apps on the client & server. Formats ICU Message strings with number, date, plural, and select placeholders to create localized messages. This package aims to provide a way for you to manage and format your JavaScript app's string messages into localized strings for people using your app. You can use this package in the browser and on the server via Node.js. A very common example is formatting messages that have numbers with plural labels. With this package you can make sure that the string is properly formatted for a person's locale.

Features

  • Messages are provided into the constructor as a String message
  • Documentation available
  • Examples available
  • Uses industry standards: ICU Message syntax and CLDR locale data
  • Supports plural, select, and selectordinal message arguments
  • Formats numbers and dates/times in messages using Intl.NumberFormat and Intl.DateTimeFormat, respectively
  • Supports defining custom format styles/options
  • Optimized for repeated calls to an IntlMessageFormat instance's format() method

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Intl MessageFormat

Intl MessageFormat Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Intl MessageFormat!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Localization (L10N) Software

Registered

2024-07-10