0.1.3 β’ Published 3 years ago
react-translate-widget v0.1.3
A project for adding translate support in react website using just a simple widget
β¨ Features
- βοΈ Easily add multiple language support just by adding our widget
- π Internationalization support for dozens of languages.
π₯ Environment Support
IE / Edge | Firefox | Chrome | Safari | Electron |
---|---|---|---|---|
IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
π¦ Install
react-translate-widget
yarn add react-translate-widget
π¨ Usage
import TranslatorWidget from 'react-translate-widget';
const App = () => (
<>
<TranslatorWidget sourceLanguageCode="en" className="translator"/>
</>
);
π Internationalization
Dozens of languages supported in react-translate-widget
, see supported languages.
π Links
β¨οΈ Development
Use Gitpod, a free online dev environment for GitHub.
Or clone locally:
$ git clone git@github.com:archeelp/react-translate-widget.git
$ cd react-translate-widget
$ npm install
$ npm start
Open your browser and visit http://127.0.0.1:3000 and checkout react-translate-widget
π€ Contributing
Let's build a better translator widget together.
We welcome all contributions. You can submit any ideas as pull requests or as GitHub issues. If you'd like to improve code we would really appreciate it.
β Limitations - This project is currently in beta and has some limitations
- βWorks only on deployed website
- βWorks only for public URLs