Update HybridGlobalization error messages to remove obsolete guidance#122645
Merged
matouskozak merged 6 commits intomainfrom Jan 5, 2026
Merged
Update HybridGlobalization error messages to remove obsolete guidance#122645matouskozak merged 6 commits intomainfrom
matouskozak merged 6 commits intomainfrom
Conversation
Updated 6 error messages in Strings.resx that incorrectly told users to "Disable it to load larger ICU bundle" when HybridGlobalization=true. Since hybrid globalization can no longer be disabled on Apple mobile platforms, the messages now direct users to adjust their code or open an issue on https://github.com/dotnet/runtime. Co-authored-by: matouskozak <55735845+matouskozak@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove hybrid globalization references from Strings.resx
Update HybridGlobalization error messages to remove obsolete guidance
Dec 18, 2025
matouskozak
reviewed
Dec 18, 2025
src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
Outdated
Show resolved
Hide resolved
… messages Per review feedback, changed error messages to use clearer platform-specific language "on Apple mobile platforms" instead of "when HybridGlobalization=true on this platform". Co-authored-by: matouskozak <55735845+matouskozak@users.noreply.github.com>
matouskozak
approved these changes
Dec 18, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
Updates HybridGlobalization-related error messages in Strings.resx to reflect current platform constraints. The key change is removing guidance to disable HybridGlobalization (which is no longer possible on Apple mobile platforms) and directing users to adjust their code or report issues on GitHub instead.
- Replaces obsolete "Disable it to load larger ICU bundle" guidance with actionable advice
- Updates platform references from "when HybridGlobalization=true on this platform" to clearer "on Apple mobile platforms"
- Directs users to https://github.com/dotnet/runtime for reporting issues
src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
Outdated
Show resolved
Hide resolved
3 tasks
jkotas
reviewed
Dec 18, 2025
src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
Outdated
Show resolved
Hide resolved
Contributor
|
Tagging subscribers to this area: @dotnet/area-system-globalization |
Per review feedback, simplified error messages by removing the "Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case." text from all 6 HybridGlobalization error messages. Co-authored-by: matouskozak <55735845+matouskozak@users.noreply.github.com>
Changed "CompareOptions = {0} are not supported" to
"CompareOptions = {0} is not supported" since CompareOptions
is a singular entity being compared to a value.
Co-authored-by: matouskozak <55735845+matouskozak@users.noreply.github.com>
Reverted "is" back to "are" for CompareOptions messages since the passed value can represent option(s) which can be plural. Co-authored-by: matouskozak <55735845+matouskozak@users.noreply.github.com>
matouskozak
approved these changes
Jan 5, 2026
jkotas
approved these changes
Jan 5, 2026
This was referenced Jan 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
main PR
Description
HybridGlobalization error messages in
Strings.resxincorrectly told users to "Disable it to load larger ICU bundle" — but hybrid globalization can no longer be disabled on Apple mobile platforms.Updated 6 error messages to:
Affected messages:
PlatformNotSupported_HybridGlobalizationWithCompareOptionsPlatformNotSupported_HybridGlobalizationWithMixedCompositionsPlatformNotSupported_HybridGlobalizationWithCompareOptionsForCulturePlatformNotSupported_HybridGlobalizationWithMatchLengthPlatformNotSupported_HybridGlobalizationPlatformNotSupportedWithReason_HybridGlobalizationCustomer Impact
Users hitting these exceptions receive incorrect guidance suggesting a configuration option that no longer exists.
Regression
No. The guidance was always incorrect for these platforms; hybrid globalization was never disableable on Apple mobile.
Testing
Risk
Low. String-only change with no behavioral impact.
Package authoring no longer needed in .NET 9
IMPORTANT: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older versions.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.