
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
i18next-user-language-detector
Advanced tools
i18next plugin to detect and store user language for React Native Apps.
i18next plugin to detect and store user language for React Native Apps.
npm install --save i18next-user-language-detector
OR
yarn add i18next-user-language-detector
OR
pnpm add i18next-user-language-detector
import i18n from "i18next";
import { initReactI18next } from "react-i18next";
import LanguageDetector from "i18next-user-language-detector";
import en from "@/assets/locales/en";
import vi from "@/assets/locales/vi";
const resources = {
en,
vi,
};
i18n
.use(LanguageDetector)
.use(initReactI18next)
.init({
resources,
supportedLngs: ["en", "vi"],
fallbackLng: "en",
interpolation: {
escapeValue: false,
},
});
export default i18n;
This plugin is open-source and available under the MIT license.
i18next-user-language-detector
is developed by Thong Dang. You can contact me at thongdn.it@gmail.com.
If you like my project, you can support me or star (like) for it.
FAQs
i18next plugin to detect and store user language for React Native Apps.
The npm package i18next-user-language-detector receives a total of 0 weekly downloads. As such, i18next-user-language-detector popularity was classified as not popular.
We found that i18next-user-language-detector demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.