![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@qualweb/locale
Advanced tools
Translation module for QualWeb reports.
WORK IN PROGRESS.
$ npm i @qualweb/locale --save
Language | Code | Modules support | ||
---|---|---|---|---|
act-rules | wcag-techniques | best-practices | ||
English | en | Full | No | Full |
Portuguese | pt | Partial | No | No |
The best way to have a translated report is by using the @qualweb/core module, and passing the locale code you want in the options. If you really want to use this package separately bear in mind that the variables in the sentences wont be translated and some meaning can be lost.
'use strict';
import locales, { translateReport } from '@qualweb/locale';
(async () => {
// EvaluationReport only. EARL report is not currently supported. If you need a EARL report, convert the evaluation report after the translation. Check https://github.com/qualweb/earl-reporter
const report = "Evaluation report obtained from @qualweb/cli or @qualweb/core";
const translatedReport = translateReport(report, 'en');
// OR
const translatedReport = translateReport(report, locales.en);
// OR
const ownLocale = {
// If you have a compatible locale object
};
const translatedReport = translateReport(report, ownLocale);
console.log(translatedReport);
});
ISC
FAQs
Locales for @qualweb/core evaluation reports.
The npm package @qualweb/locale receives a total of 231 weekly downloads. As such, @qualweb/locale popularity was classified as not popular.
We found that @qualweb/locale 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.