Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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')
})
```