@digital-realty/translations
v1.1.13-alpha.1
Published
A project to store multi-lingual text
Downloads
741
Keywords
Readme
<translations>
Installation
npm i @digital-realty/translations
Usage
Designed to be used in conjunction with JSON based translation systems such as i18next. Helpful config's are defined to be shared in index.js
.
Translations are stored under /locales
. JSON files can be imported directly.
Note that if you are using the web-dev-server (via @open-wc generator for example). You will need to set it up to use non-standard file types.
Linting and formatting
To scan the project for linting and formatting errors, run
npm run lint
To automatically fix linting and formatting errors, run
npm run format