Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timneutkens/smooch-languages
Simple language pack for Smooch
https://github.com/timneutkens/smooch-languages
Last synced: 21 days ago
JSON representation
Simple language pack for Smooch
- Host: GitHub
- URL: https://github.com/timneutkens/smooch-languages
- Owner: timneutkens
- Created: 2016-05-21T14:46:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-05-21T15:08:36.000Z (over 8 years ago)
- Last Synced: 2024-10-05T12:41:42.911Z (3 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Smooch Languages
Small package to provide translations for [Smooch](https://github.com/smooch/smooch-js)
## Supported Languages
* English (en)
* Dutch (nl)## Installation
### Install using npm
`npm install --save smooch-languages`
Use
```Javascript
var SmoochLanguages = require('smooch-languages')Smooch.init({
appToken: 'apitoken',
customText: SmoochLanguages('en')
})
```### Install using bower
`bower install --save smooch-languages`
Use
```Javascript
// Include bower_components/smooch-languages/bower.js (will expose SmoochLanguages as global)
Smooch.init({
appToken: 'apitoken',
customText: SmoochLanguages('en')
})
```