1.2.15 • Published 4 years ago

native-speaker v1.2.15

Weekly downloads
34
License
MIT
Repository
github
Last release
4 years ago

A modern language :cn: :us: localisation library built on top of i18n

npm.io Coverage Status Known Vulnerabilities npm.io Version Downloads

A modern language :cn: :us: localisation library built on top of i18n

Features

  • Supports multiple randomly picked message localisations :white_check_mark:

How to install

npm install native-speaker

How to use

Use it in your app

const Locale = require('native-speaker')

const message = Locale.get('en', 'hello_world')

Available environment variables

VariableDescriptionRequiredDefault value
DEFAULT_LOCALEThe locale to be used when the desired locale is not available.falseen

How to contribute

You can contribute either with code (e.g., new features, bug fixes and documentation) or by donating 5 EUR. You can read the contributing guidelines for instructions on how to contribute with code.

All donation proceedings will go to the Sverige för UNHCR, a swedish partner of the UNHCR - The UN Refugee Agency, a global organisation dedicated to saving lives, protecting rights and building a better future for refugees, forcibly displaced communities and stateless people.

License

Read the license for permissions and limitations.

1.2.15

4 years ago

1.2.14

4 years ago

1.2.13

4 years ago

1.2.12

4 years ago

1.2.11

4 years ago

1.2.10

4 years ago

1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.14

5 years ago

1.1.13

5 years ago

1.1.12

5 years ago

1.1.11

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

8 years ago