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
Categories
Localization (L10N)License
MIT LicenseFollow Intl MessageFormat
Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Intl MessageFormat!