Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@localazy/languages
Advanced tools
This repository contains all the ISO 639 languages supported by Localazy. There are various forms of the content you may use.
npm i @localazy/languages
One of the exported content is an enum file with all the locales in form of ENGLISH_LANGUAGE_NAME = "language_code", e.g. CZECH_CZECHIA = CZECH_CZECHIA = "cs_CZ"
;
import { Locales } from "@localazy/languages";
// ...
const czechia = locales.CZECH_CZECHIA;
Second typescript file provides following functions
import { getLocalazyLanguages } from "@localazy/languages";
console.log(getLocalazyLanguages());
// prints
// [
// {
// "important": true,
// "localazyId": 0,
// "name": "Latin American Spanish",
// "rtl": false,
// "locale": "es_419",
// "englishName": "Latin American Spanish"
// },
// ...
// ]
import { findLocalazyLanguageByLocale } from "@localazy/languages";
console.log(findLocalazyLanguageByLocale("cs_CZ"));
// prints
// {
// "important": false,
// "localazyId": 61,
// "name": "Czech (Czechia)",
// "rtl": false,
// "locale": "cs_CZ",
// "englishName": "Czech (Czechia)"
// }
The language object implements the Language type which you may import as import { Language } from "@localazy/languages";
This repository also contains JSON overview of languages that have been translated in native language in Localazy. If you miss some language or find inaccurate translation, we will appreciate your contribution.
You may import the languages list like this.
import { languagesList} from "@localazy/languages";
FAQs
Available Localazy Languages
The npm package @localazy/languages receives a total of 0 weekly downloads. As such, @localazy/languages popularity was classified as not popular.
We found that @localazy/languages 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.