Usage for React applications (using Lingui)

1. Install

  • Add dependencies to your React application using npm install @translation/lingui or yarn add @translation/lingui.
Code and documentation on translation/lingui

2. Configure

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

3. Work

  • Write text using <Trans>source text</Trans> and <Plural> components.
  • Execute npm run sync or yarn 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