Files: 1a1dfa987b784a002e626f97e18aeaf2164d1299 / lib / i18n.js
223 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