A modern language 🇨🇳 🇺🇸 localisation library built on top of i18n
- Supports multiple randomly picked message localisations ✅
npm install native-speaker
const Locale = require('native-speaker')
const message = Locale.get('en', 'hello_world')
Variable | Description | Required | Default value |
---|---|---|---|
DEFAULT_LOCALE | The locale to be used when the desired locale is not available. | false | en |
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.
Read the license for permissions and limitations.