2023-01-18 17:54:18 +09:00
|
|
|
const path = require('path');
|
|
|
|
|
|
2022-08-22 09:50:54 +02:00
|
|
|
module.exports = {
|
|
|
|
|
// https://www.i18next.com/overview/configuration-options#logging
|
|
|
|
|
i18n: {
|
|
|
|
|
defaultLocale: 'en',
|
2022-09-02 16:17:04 +02:00
|
|
|
locales: [
|
|
|
|
|
'en',
|
2022-10-24 20:16:11 +09:00
|
|
|
'da',
|
|
|
|
|
'he',
|
2022-09-02 16:17:04 +02:00
|
|
|
'de',
|
|
|
|
|
'es',
|
|
|
|
|
'fr',
|
|
|
|
|
'it',
|
|
|
|
|
'ja',
|
|
|
|
|
'ko',
|
|
|
|
|
'lol',
|
|
|
|
|
'nl',
|
|
|
|
|
'pl',
|
|
|
|
|
'pt',
|
|
|
|
|
'ru',
|
|
|
|
|
'sl',
|
|
|
|
|
'sv',
|
2022-11-02 17:03:57 +09:00
|
|
|
'vi',
|
2022-09-02 16:17:04 +02:00
|
|
|
'uk',
|
2022-09-16 09:36:13 +09:00
|
|
|
'zh',
|
2023-01-23 01:47:13 +09:00
|
|
|
'el',
|
2022-09-02 16:17:04 +02:00
|
|
|
],
|
2023-01-18 17:54:18 +09:00
|
|
|
localePath: path.resolve('./public/locales'),
|
2022-08-28 16:28:17 +02:00
|
|
|
fallbackLng: 'en',
|
2022-08-24 17:58:14 +02:00
|
|
|
localeDetection: true,
|
2022-09-02 16:17:04 +02:00
|
|
|
returnEmptyString: false,
|
2022-08-22 09:50:54 +02:00
|
|
|
},
|
|
|
|
|
reloadOnPrerender: process.env.NODE_ENV === 'development',
|
|
|
|
|
};
|