Files: e5ad753b8414d998113f9305e0826f4cf1035fe4 / lib / i18n.js
220 bytesRaw
1 | // Multi Language support |
2 | var appRoot = require('app-root-path'); |
3 | |
4 | var i18n = require("i18n") |
5 | i18n.configure({ |
6 | locales:['en','ki'], |
7 | directory: appRoot + '/locales' |
8 | }); |
9 | |
10 | i18n.setLocale('ki') |
11 | |
12 | exports.i18n = i18n; |
13 |
Built with git-ssb-web