As recently detailed in a post on the Mozilla Hacks blog, the ECMAScript Internationalization API provides a new Intl object that gives developers access to a number of methods that handle important i18n functions. Specifically, the methods allow developers to more gracefully handle date/time and number formatting, as well as collation.
For instance, using the API, developers can easily format numbers in local currencies; arrange data according to local conventions, including phonebook and dictionary sorting; and display dates using local numbering systems mixed with multiple calendar options.
Support for the Internationalization API has been present in Mozilla Firefox since Firefox 29. Firefox's implementation supports more than 400 locales for collation and over 600 locales for date/time and number formatting. Google's Chrome browser has also implemented the Internationalization API. According to the original specification, developers can identify whether a browser supports the API by checking for the presence of the Intl object.
Today, the Web is truly global, and many of the largest Internet companies have more users outside of the United States than they do in it. Less than 25% of Facebook's users, for instance, are in the United States, and developing nations make up one of the social network's fastest-growing user segments.