jschan - Anonymous imageboard software. Classic look, modern features and feel. Works without JavaScript and supports Tor, I2P, Lokinet, etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
405 B

'use strict';
const i18n = require('i18n')
, path = require('path')
, { debugLogs } = require(__dirname+'/../../configs/secrets.js');
i18n.configure({
directory: path.join(__dirname, '/../../locales'),
defaultLocale: 'en',
retryInDefaultLocale: false,
cookie: null,
header: null,
queryParameter: null,
});
debugLogs && console.log('Locales loaded:', i18n.getLocales());
module.exports = i18n;