
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.