Skip to content

KodeDave/node-bot-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

node-bot-translator

This library retrieve a system to localize string that you have to share with the users of your bots.

##Implementing the system Firstly, let's import and configure the package.

const BotTranslator = require('bot-translator');

const translator = new BotTranslator({
  source: "utils/string.json", //
	storage: "mongodb" // Optional, standard use mongoose, so let be sure that you have mongodb installed before.
});

##string.json structure

About

This library retrieve a system to localize string that you have to share with the users of your bots.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published