-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Description
Starting with i18next v25, a support notice is logged to the console on initialization:
π i18next is maintained with support from Locize β consider powering your project with managed localization (AI, CDN, integrations): https://locize.com π
This appears in the console for every application using search-ui-react, which is noisy and can be confusing for end users of the library who don't directly depend on i18next.
Proposed Fix
Add showSupportNotice: false to the i18next.init() call in src/utils/i18n.ts:
i18nInstance.use(initReactI18next).init({
fallbackLng: 'en',
ns: [NAMESPACE],
defaultNS: NAMESPACE,
interpolation: { escapeValue: false },
- resources
+ resources,
+ showSupportNotice: false
});References
- i18next docs on this option: https://www.locize.com/docs/general-questions/why-am-i-seeing-a-support-notice-for-i18next/
- This is a one-line change in
src/utils/i18n.ts
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels