Skip to content

Latest commit

 

History

History

README.md

General Translation

Documentation · Report Bug

gt-react

Automatic i18n for React.

Installation

npm install gt-react
npm install gt --save-dev

Quick Start

npx gt init
import { T, GTProvider } from 'gt-react';

export default function App() {
  return (
    <GTProvider>
      <T>
        <p>This gets translated automatically.</p>
      </T>
    </GTProvider>
  );
}

See the full documentation for guides and API reference.