mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
## Description Currently invalid or missing `accept-language` headers will cause issues rendering Plural components since we do not validate them. This adds a check to try filter out invalid locales. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced locale filtering process to ensure only valid locales are processed. - **Bug Fixes** - Improved data integrity by preventing invalid locales from affecting application functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai -->