This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// usual requirements | |
const express = require('express'); | |
const cookieParser = require('cookie-parser'); | |
const i18n = require('i18n'); | |
const nunjucks = require('nunjucks'); | |
const app = module.exports = express(); | |
i18n.configure({ | |
// setup some locales - other locales default to en silently | |
locales: ['en', 'fr', 'de', 'ru'], |