How to install Quetzal into your React project
Run Setup Script
npx quetzal-setup
in the directory you installed the Quetzal packageSet API Key
QUETZAL_API_KEY
to your Quetzal API Key. Your
API Key can be found on your project
dashboardUpdate quetzal.config.json
paths
so that it
points to the directories with the code you plan to localize. Update parser
to lingui-parser
Verify lingui.config
npx quetzal-process-translations
to test out your installation.
npx quetzal-process-translations
to the pre-build script in your project’s package.json, but this can be modified.