Files
Homarr/next-i18next.config.js
ajnart 90800e539d 🌐 Add Czech
2023-11-01 23:10:28 +01:00

46 lines
739 B
JavaScript

const path = require('path');
module.exports = {
// https://www.i18next.com/overview/configuration-options#logging
i18n: {
defaultLocale: 'en',
locales: [
'cn',
'cr',
'cs',
'da',
'de',
'el',
'en',
'es',
'fr',
'he',
'hr',
'hu',
'it',
'ja',
'ko',
'lv',
'nl',
'no',
'pl',
'pt',
'ru',
'sk',
'sl',
'sv',
'tr',
'tw',
'uk',
'vi',
],
localeDetection: false,
},
returnEmptyString: false,
appendNamespaceToCIMode: true,
reloadOnPrerender: process.env.NODE_ENV === 'development',
fallbackLng: 'en',
localePath: path.resolve('./public/locales'),
};