🚨 Fix warning for next i18n
Tim Izzo tim@octree.ch
Mon, 03 Oct 2022 09:37:59 +0000
1 files changed,
4 insertions(+),
1 deletions(-)
jump to
M
frontend/react-i18next.config.js
→
frontend/react-i18next.config.js
@@ -2,7 +2,10 @@ module.exports = {
i18n: { defaultLocale: 'fr', locales: ['en', 'fr'], + }, - fallbackLng: 'fr' + fallbackLng: { + default: ['fr'], + 'fr-CH': ['fr'], }, };