Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supress console errors for missing translations? #1686

Closed
vicspiced opened this issue Jan 27, 2025 · 1 comment
Closed

Supress console errors for missing translations? #1686

vicspiced opened this issue Jan 27, 2025 · 1 comment
Labels
enhancement New feature or request unconfirmed Needs triage.

Comments

@vicspiced
Copy link

Is your feature request related to a problem? Please describe.

Is there a way to not console error the missing translations? It's cluttering my console and it's extremely annoying.

IntlError: MISSING_MESSAGE: Could not resolve textin messages for localeen``

Describe the solution you'd like

Just allow the developer to uncheck the console errors.

Describe alternatives you've considered

No alternatives, just asking if there is a way to not clutter my console.

@vicspiced vicspiced added enhancement New feature or request unconfirmed Needs triage. labels Jan 27, 2025
@amannn
Copy link
Owner

amannn commented Jan 28, 2025

This is already supported: https://next-intl.dev/docs/usage/configuration#error-handling

It's unfortunately a bit cumbersome to configure for Client Components currently. This will be improved a bit in v4, with something like #1285 hopefully being the ideal solution longterm.

@amannn amannn closed this as completed Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request unconfirmed Needs triage.
Projects
None yet
Development

No branches or pull requests

2 participants