security/codeql-dependabot-gitleaks
| 1 | import { InitOptions } from "i18next" |
| 2 | |
| 3 | export const defaultI18nOptions: InitOptions = { |
| 4 | debug: process.env.NODE_ENV === "development", |
| 5 | detection: { |
| 6 | caches: ["cookie", "localStorage", "header"], |
| 7 | lookupCookie: "lng", |
| 8 | lookupLocalStorage: "lng", |
| 9 | order: ["cookie", "localStorage", "header"], |
| 10 | }, |
| 11 | fallbackLng: "en", |
| 12 | fallbackNS: "translation", |
| 13 | interpolation: { |
| 14 | escapeValue: false, |
| 15 | }, |
| 16 | } |