0.1.3 β€’ Published 3 years ago

react-translate-widget v0.1.3

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

A project for adding translate support in react website using just a simple widget

NPM version NPM downloads

FOSSA Status Discussions Issues need help

✨ Features

  • βš™οΈ Easily add multiple language support just by adding our widget
  • 🌍 Internationalization support for dozens of languages.

πŸ–₯ Environment Support

  • Modern browsers and Internet Explorer 11 (with polyfills)
  • Server-side Rendering
  • Electron
IE / EdgeFirefoxChromeSafariElectron
IE11, Edgelast 2 versionslast 2 versionslast 2 versionslast 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.

Open in Gitpod

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 PRs Welcome

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