This is a library for translating text.
$ npm install --save @benjaminnoufel/translation
$ yarn add @benjaminnoufel/translation
key | value | default |
---|---|---|
locale | string | en |
fallbackLng | string | en |
separator | string | . |
fallbackMsg | string | TODO{separator}{word}{locale} or "" |
messages | object | {} |
see Examples
see CHANGELOG
see CONTRIBUTING
see LICENSE