https://github.com/fabrix-app/spool-i18n
Spool: i18next Extension spool
https://github.com/fabrix-app/spool-i18n
fabrix i18n internationalization nodejs spools typescript
Last synced: about 1 year ago
JSON representation
Spool: i18next Extension spool
- Host: GitHub
- URL: https://github.com/fabrix-app/spool-i18n
- Owner: fabrix-app
- License: mit
- Created: 2018-06-20T15:40:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-02T19:45:17.000Z (over 7 years ago)
- Last Synced: 2025-03-17T22:55:07.597Z (about 1 year ago)
- Topics: fabrix, i18n, internationalization, nodejs, spools, typescript
- Language: TypeScript
- Size: 71.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# spool-i18n
[![Gitter][gitter-image]][gitter-url]
[![NPM version][npm-image]][npm-url]
[![Build Status][ci-image]][ci-url]
[![Test Coverage][coverage-image]][coverage-url]
[![Dependency Status][daviddm-image]][daviddm-url]
[![Follow @FabrixApp on Twitter][twitter-image]][twitter-url]
[I18N](https://nodejs.org/api/i18n.html) Spool. Adds an interactive shell to your Fabrix app to help with
development and debugging. Saves command history between sessions.
## Install
```sh
$ npm install @fabrix/spool-i18n --save
```
## Usage
The i18n spool is loaded in your spool config per usual.
```js
// config/main.ts
import { I18nSpool } from '@fabrix/spool-i18n'
export const main = {
// ...
spools: [
// ...
I18nSpool
]
}
```
```js
// config/i18n.js
export const i18n = {
}
```
## Contributing
We love contributions! Please check out our [Contributor's Guide](https://github.com/fabrix-app/fabrix/blob/master/.github/CONTRIBUTING.md) for more
information on how our projects are organized and how to get started.
## License
[MIT](https://github.com/fabrix-app/spool-i18n/blob/master/LICENSE)
[npm-image]: https://img.shields.io/npm/v/@fabrix/spool-i18n.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@fabrix/spool-i18n
[ci-image]: https://img.shields.io/circleci/project/github/fabrix-app/spool-i18n/master.svg
[ci-url]: https://circleci.com/gh/fabrix-app/spool-i18n/tree/master
[daviddm-image]: http://img.shields.io/david/fabrix-app/spool-i18n.svg?style=flat-square
[daviddm-url]: https://david-dm.org/fabrix-app/spool-i18n
[gitter-image]: http://img.shields.io/badge/+%20GITTER-JOIN%20CHAT%20%E2%86%92-1DCE73.svg?style=flat-square
[gitter-url]: https://gitter.im/fabrix-app/Lobby
[twitter-image]: https://img.shields.io/twitter/follow/FabrixApp.svg?style=social
[twitter-url]: https://twitter.com/FabrixApp
[coverage-image]: https://img.shields.io/codeclimate/coverage/github/fabrix-app/spool-i18n.svg?style=flat-square
[coverage-url]: https://codeclimate.com/github/fabrix-app/spool-i18n/coverage