Usage for React and JavaScript applications (using Lingui)

1. Install

  • Add dependencies using
    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 project.
  • Execute npm run sync to push your existing keys and translations.

3. Work

  • Write text using t`source text` or <Trans>source text</Trans>.
  • 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