react-intl-universal v1.12.0 Release Notes

Release Date: 2018-08-05 // over 5 years ago
  • ๐Ÿš€ The Common Locale Data is now hosted in //g.alicdn.com, however some users in private network may not able to access the internet. This release make the common locale data URL optional. #76, #68, #63, #71

    intl.init({
      // ...
      commonLocaleDataUrls: {
         en: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/en.js",
         zh: "https://g.alicdn.com/react-intl-universal/locale-data/1.0.0/zh.js",
      }
    });
    

    ๐Ÿ‘ Moreover, if you encounter the following error, this options make supporting more languages possible. #51

    Language "${lang}" is not supported.