@lingui/react
Advanced tools
Changelog
2.4.0 (2018-08-09)
Better support for custom file formats and initial support for Create React App.
lingui init
command
which detects project type and install all required packages (#253)lingui extract
detects create-react-app
projects and extracts messages using
rect-app
babel presetlingui add-locale
accepts any valid BCP-47 locale (#182)<a name="2.3.0"></a>
Changelog
2.3.0 (2018-07-23)
Long-awaited backlog grooming.
withI18n
hoists statics of wrapped component (#166)Date
and i18n.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)<original_filename>.json
, eg: App.js.json
(#244)<a name="2.2.0"></a>
Changelog
2.2.0 (2018-07-04)
Release dedicated to command line interface.
format
for sourceLocale
from source code. (#199)