diff --git a/src/lib/i18n/useIntl.tsx b/src/lib/i18n/useIntl.tsx index abccaf7a..a9ca71e4 100644 --- a/src/lib/i18n/useIntl.tsx +++ b/src/lib/i18n/useIntl.tsx @@ -72,11 +72,10 @@ const getLocalizedFallbackIntl = ( ) => { let messages: Record = {}; try { - if (locale === "en") { - messages = require("./messages/en.json"); - } if (locale === "nl") { messages = require("./messages/nl.json"); + } else { + messages = require("./messages/en.json"); } } catch (e) { // messages not loaded.