
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-langlate
Advanced tools
npm i langlatevar Langlate = require('langlate') or for ES6 import Langlate from 'langlate'You can use langlate as a React Component or get the translation returned by the raw method as a string.
<Langlate text={object} language={string} \>
Langlate.raw(object text, string language);
{ en_US: "Hello World" })"en_US")Can be found here - documentation and demo
import React from "react";
import { render } from "react-dom";
import Langlate from "langlate";
class Demo extends React.Component {
render() {
/** Object containing translations. */
const helloWorld = {
en_US: "Hello World",
pl_PL: "Witaj Świecie",
de_DE: "Hallo Welt",
es_ES: "Hola Mundo"
};
return (
<h2>
<Langlate language={"en_US"} text={helloWorld} />
</h2>
);
}
}
render(<Demo />, document.getElementById("app"));
Give it a try on codesandbox.io
After cloning the repo, install all dependencies using npm install.
Run the development mode:
npm run dev
Run just the docs:
npm run docs
Run just the library:
npm run lib
Deploy the production-ready docs:
npm run docs:prod
Test the library:
npm test
FAQs
Langlate is a React Component which makes multilingualism easier.
We found that react-langlate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.