Skip to content

Suppress i18next console support noticeΒ #639

@chrissnyder2337

Description

@chrissnyder2337

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions