Files
Homarr/next-i18next.config.js
Thomas Camlong 9e72639a9f 🌐 Add Vietnamese 🇻🇳 language support
2022-11-02 17:03:57 +09:00

32 lines
522 B
JavaScript

module.exports = {
// https://www.i18next.com/overview/configuration-options#logging
i18n: {
defaultLocale: 'en',
locales: [
'en',
'da',
'he',
'de',
'es',
'fr',
'it',
'ja',
'ko',
'lol',
'nl',
'pl',
'pt',
'ru',
'sl',
'sv',
'vi',
'uk',
'zh',
],
fallbackLng: 'en',
localeDetection: true,
returnEmptyString: false,
},
reloadOnPrerender: process.env.NODE_ENV === 'development',
};