v2.3.0
Long-awaited backlog grooming.
New Features
- Add support for locales (aka cultures) (#170). Thanks to Cristi Ingineru.
- Allow React elements to be used as message variables (#183)
- Support both Babel 6.x and 7.x (#171, #232, #238)
withI18n
hoists statics of wrapped component (#166)Date
andi18n.date
accepts date as a string (#155)lingui extract
shows progress (#180)lingui extract
throws an error when encountering different defaults for the same message (#200)lingui compile
shows useful error when message has syntax errors (#191)
Bug Fixes
- Fix internal catalog names to avoid collisions. Internal catalogs are named
<original_filename>.json
, eg:App.js.json
(#244)
Docs
- React Native Tutorial (#243). Thanks to Vojtech Novak.
- Add draft of Testing Guide
- Add section with external resources
- Several fixes by Vincent Ricard (#242)