diff options
Diffstat (limited to 'src/utils/helpers/i18n.ts')
| -rw-r--r-- | src/utils/helpers/i18n.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/helpers/i18n.ts b/src/utils/helpers/i18n.ts index 16c83f4..c4734ad 100644 --- a/src/utils/helpers/i18n.ts +++ b/src/utils/helpers/i18n.ts @@ -1,11 +1,11 @@ -import { config } from '@config/website'; import { createIntl, createIntlCache, IntlShape } from '@formatjs/intl'; +import { settings } from '@utils/config'; import { readFile } from 'fs/promises'; import path from 'path'; type Messages = { [key: string]: string }; -export const defaultLocale = config.locales.defaultLocale; +export const defaultLocale = settings.locales.defaultLocale; /** * Load the translation for the provided locale. |
