Files
documenso/packages/lib/utils
David Nguyen c043fa9c06 fix: add check for invalid locales (#1353)
## 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 -->
2024-09-19 09:58:59 +10:00
..
2024-06-06 15:28:02 +10:00
2024-07-18 23:45:44 +10:00
2024-02-06 16:16:10 +11:00
2024-06-06 15:28:02 +10:00
2024-02-06 16:16:10 +11:00
2024-02-08 12:33:20 +11:00
2024-02-06 16:16:10 +11:00