-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Update HybridGlobalization error messages to remove obsolete guidance #122645
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
base: main
Are you sure you want to change the base?
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 <[email protected]>
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 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
| </data> | ||
| <data name="PlatformNotSupported_HybridGlobalizationWithCompareOptions" xml:space="preserve"> | ||
| <value>CompareOptions = {0} are not supported when HybridGlobalization=true on this platform. Disable it to load larger ICU bundle, then use this option.</value> | ||
| <value>CompareOptions = {0} are not supported on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.</value> |
Copilot
AI
Dec 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar issue: "CompareOptions = {0} are not supported" should use "is" instead of "are" since CompareOptions is a singular entity being compared to a value.
| </data> | ||
| <data name="PlatformNotSupported_HybridGlobalizationWithCompareOptionsForCulture" xml:space="preserve"> | ||
| <value>CompareOptions = {0} are not supported for culture = {1} when HybridGlobalization=true on this platform. Disable it to load larger ICU bundle, then use this option.</value> | ||
| <value>CompareOptions = {0} are not supported for culture = {1} on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.</value> |
Copilot
AI
Dec 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar issue: "CompareOptions = {0} are not supported" should use "is" instead of "are" since CompareOptions is a singular entity being compared to a value.
| </data> | ||
| <data name="PlatformNotSupported_HybridGlobalizationWithCompareOptions" xml:space="preserve"> | ||
| <value>CompareOptions = {0} are not supported when HybridGlobalization=true on this platform. Disable it to load larger ICU bundle, then use this option.</value> | ||
| <value>CompareOptions = {0} are not supported on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.</value> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <value>CompareOptions = {0} are not supported on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.</value> | |
| <value>CompareOptions = {0} are not supported on Apple mobile platforms.</value> |
I think this is sufficient. I do not think we have any other error message where we explicitly tell people to open issue in dotnet/runtime.
|
Tagging subscribers to this area: @dotnet/area-system-globalization |
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.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.