Skip to content

Commit

Permalink
docs: explain locales config in the Setup tutorial (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
piettes authored Mar 4, 2021
1 parent f2a4da0 commit 5533ea6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/tutorials/react.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,12 @@ We're going to use `CLI` again. Run :cli:`extract` command to extract messages::

Add 'locales' to your configuration. See https://lingui.js.org/ref/conf.html#locales

We need here to fix the configuration. Create a .linguirc file with

{
"locales": ["en", "de", "fr"]
}

After fixing configuration, let's run :cli:`extract` command again::

$ lingui extract
Expand Down

1 comment on commit 5533ea6

@vercel
Copy link

@vercel vercel bot commented on 5533ea6 Mar 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.