
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@scaleflex/i18n-it
Advanced tools
Backend plugin to load data via i18n.it service for i18next
npm i @scaleflex/i18n-it --save
usage
i18n.client.js
import i18n from 'i18next';
import Backend from '@scaleflex/i18n-it';
const newInstance = i18n.createInstance(); // create new instance (helpful if you have nested i18nProviders)
newInstance
.use(Backend)
.init({
fallbackLng: false,
lng: 'en', // initial language
ns: ['translations'],
defaultNS: 'translations',
debug: false,
load: 'languageOnly',
keySeparator: false,
nsSeparator: false,
saveMissing: true,
react: {
wait: true
},
backend: {
uuid: 'xxx' // your grid key in i18n.it service
}
});
export default newInstance;
in your index.js
...
// import I18nextProvider from react-i18next and i18n from i18n.client.js
import { I18nextProvider } from 'react-i18next';
import i18n from './i18nIt/i18n.client'
ReactDOM.render(
<I18nextProvider i18n={i18n}> // wrap your app with I18nextProvider and pass i18n module
<Suspense fallback="loading">
<App/>
</Suspense>
</I18nextProvider>,
document.getElementById('root')
);
! make sure you use the correct language formats everywhere in your app. Different formats like “fr” / “fr-FR” / “fr-fr” will cause to extra API call.
check the documentation for i18next
All contributions are super welcome!
@scaleflex/i18n-it is provided under the MIT License
FAQs
Backend plugin to load data via i18n.it service for i18next
We found that @scaleflex/i18n-it demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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.

Research
/Security News
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.