4.0.0 • Published 3 years ago

glitchyscratch-i18n v4.0.0

Weekly downloads
27
License
BSD-3-Clause
Repository
github
Last release
3 years ago

Glitchy Scratch I18N

Localisation of all Glitchy Scratch components.

Using glitchyscratch-i18n in development

Installation

You can install this package with NPM as a dev dependency-

npm install --save-dev glitchyscratch-i18n

or simply as a dependency with-

npm install glitchyscratch-i18n

. You can also use Yarn-

yarn add glitchyscratch-i18n

. Optionally, can also build it from source using Git-

git clone https://github.com/Glitchy-Scratch/i18n.git
cd i18n
npm install

.

Basic Use

import locales, {localeData, isRtl} from 'glitchyscratch-i18n';
import editorMessages from 'glitchyscratch-i18n/locales/editor-messages';
  • locales: currently supported locales for the Scratch project
  • isRtl: function that returns true if the locale is one that is written right-to-left
  • localeData: locale data for the supported locales, in the format accepted by addLocaleData required by react-intl
  • editorMessages: the actual message strings for all supported locales for a particular resource. editorMessages collects all the strings for the interface, extensions and paint-editor.
4.0.0

3 years ago

3.0.0

3 years ago

2.0.0

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago