smooch-languages
v1.0.2
Published
Simple language pack for Smooch
Downloads
7
Readme
Smooch Languages
Small package to provide translations for Smooch
Supported Languages
- English (en)
- Dutch (nl)
Installation
Install using npm
npm install --save smooch-languages
Use
var SmoochLanguages = require('smooch-languages')
Smooch.init({
appToken: 'apitoken',
customText: SmoochLanguages('en')
})
Install using bower
bower install --save smooch-languages
Use
// Include bower_components/smooch-languages/bower.js (will expose SmoochLanguages as global)
Smooch.init({
appToken: 'apitoken',
customText: SmoochLanguages('en')
})