How to use the scratch-l10n.localeData function in scratch-l10n

To help you get started, we’ve selected a few scratch-l10n examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github LLK / scratch-www / src / lib / intl.jsx View on Github external
const ReactIntl = require('react-intl');

// Add locale data to react intl for all supported languages
const localeData = require('scratch-l10n').localeData;
ReactIntl.addLocaleData(localeData);

module.exports = ReactIntl;

scratch-l10n

Localization for the Scratch 3.0 components

AGPL-3.0
Latest version published 24 hours ago

Package Health Score

69 / 100
Full package analysis

Similar packages