mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-06 13:35:48 +01:00
✏️ Try to fix locales on vercel
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
const path = require('path');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// https://www.i18next.com/overview/configuration-options#logging
|
// https://www.i18next.com/overview/configuration-options#logging
|
||||||
i18n: {
|
i18n: {
|
||||||
@@ -23,6 +25,7 @@ module.exports = {
|
|||||||
'uk',
|
'uk',
|
||||||
'zh',
|
'zh',
|
||||||
],
|
],
|
||||||
|
localePath: path.resolve('./public/locales'),
|
||||||
fallbackLng: 'en',
|
fallbackLng: 'en',
|
||||||
localeDetection: true,
|
localeDetection: true,
|
||||||
returnEmptyString: false,
|
returnEmptyString: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user