Skip to content

Commit

Permalink
BAU: Remove support welsh language feature switch logic from i18n config
Browse files Browse the repository at this point in the history
This has now been switched on in all environments so we can remove this logic
  • Loading branch information
BeckaL committed Mar 28, 2024
1 parent c6e30f5 commit 90600bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/i18next.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { LOCALE } from "../app.constants";
import { getServiceDomain, supportLanguageCY } from "../config";
import { getServiceDomain } from "../config";

export function i18nextConfigurationOptions(
path: string
Expand All @@ -8,7 +8,7 @@ export function i18nextConfigurationOptions(
debug: false,
fallbackLng: LOCALE.EN,
preload: [LOCALE.EN],
supportedLngs: supportLanguageCY() ? [LOCALE.EN, LOCALE.CY] : [LOCALE.EN],
supportedLngs: [LOCALE.EN, LOCALE.CY],
backend: {
loadPath: path,
allowMultiLoading: true,
Expand Down

0 comments on commit 90600bd

Please sign in to comment.