From 9d51b64c074eb7189dcb5ce2228252469ce97bba Mon Sep 17 00:00:00 2001 From: "Ibrahima G. Coulibaly" Date: Mon, 14 Jul 2025 15:36:06 +0100 Subject: [PATCH] chore: remove unnecessary --- src/i18n/index.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/i18n/index.ts b/src/i18n/index.ts index ae23dda..fe3b3c0 100644 --- a/src/i18n/index.ts +++ b/src/i18n/index.ts @@ -16,12 +16,11 @@ if (useLocize) { } const locizeOptions = { - projectId: 'e7156a3e-66fb-4035-a0f0-cebf1c63a3ba', // Replace with your Locize project ID - apiKey: import.meta.env.LOCIZE_API_KEY, // Replace with your Locize API key + projectId: 'e7156a3e-66fb-4035-a0f0-cebf1c63a3ba', + apiKey: import.meta.env.LOCIZE_API_KEY, referenceLng: 'en', version: 'latest' }; -// Merge translations for demonstration; in a real app, use namespaces export type I18nNamespaces = | 'translation' @@ -46,7 +45,6 @@ i18n.use(initReactI18next).init({ backend: useLocize ? locizeOptions : { - // Static files backend for production loadPath: '/locales/{{lng}}/{{ns}}.json' } });