Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

retranslate

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

retranslate

Real simple translations for react.

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

retranslate

CircleCI Coverage Status

Real simple translations for react. Lightweight (7.51 KB gzipped) and with no dependencies. Has 100% test coverage.

Usage

First, install retranslate using

  • npm: npm install --save retranslate
  • or yarn: yarn add retranslate

Then, import Provider and Message

import { Message, Provider as TranslationProvider } from 'retranslate';

Provider

retranslate is configured using the Provider. You pass Provider translations, a language and a fallback language (just in case).

Message

retranslate uses Message to actually translate your messages.

Things left to do

Finish the docs, stuff to do on the library side, like better templating.

Contributing

TODO: add this section.

retranslate is licensed under MIT.

FAQs

Package last updated on 08 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc