Feedback
Locale.FromIdentifier accepts synthetic locale identifiers
- Status
- Fixed
- Fixed in
- v26.6.8
- Last updated
- 2026-06-30
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Locale.FromIdentifier() and Locale.IsValidIdentifier() currently accept synthetic culture names such as 1111 because the runtime uses .NET culture lookup without restricting results to predefined platform cultures. These identifiers should be rejected so invalid locale input has predictable validation behaviour.