Usage for React applications (using Lingui)

1. Install

  • Add dependencies to your React application using
    NPM
    YARN
    npm install @translation/lingui
Code and documentation on translation/lingui

2. Configure

  • Sign up (or Sign in).
  • Create a project.
  • Copy .linguirc to the root of your React project.
  • Execute npm run sync to push your existing keys and translations.

3. Work

  • Write text using <Trans>source text</Trans> and <Plural> components.
  • Execute npm run sync to push new keys and get new translations.
  • Translate or have it translated by others.

Repeat step 3 and relax



Ready to adopt a smooth translation process?

Sign up