Video: Transifex Native React SDK installation

See how to install Transifex Native SDK to your Reactjs project

The video highlights are:

  • Install needed libraries/dependencies (core Native SDK for Javascript, React extensions and the CLI tool running npm install @transifex/native @transifex/react @transifex/cli
  • Import core libraries in your code file:
    import { tx } from '@transifex/native';
    import { T, LanguagePicker } from '@transifex/react';
  • Initialize the SDK with your Native token
  • Wrap all strings in code using the <T> component
  • Add language picker component for easily switching languages in the app