react-translate-widget
v0.1.3
Published
Simple widget to directly translate react websites
Downloads
41
Maintainers
Readme
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 [email protected]: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