Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 18, 2025

main PR

Description

HybridGlobalization error messages in Strings.resx incorrectly 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:

  • Remove the obsolete "Disable it to load larger ICU bundle" guidance
  • Replace "when HybridGlobalization=true on this platform" with clearer "on Apple mobile platforms" wording
  • Direct users to adjust their code or open an issue on https://github.com/dotnet/runtime

Affected messages:

  • PlatformNotSupported_HybridGlobalizationWithCompareOptions
  • PlatformNotSupported_HybridGlobalizationWithMixedCompositions
  • PlatformNotSupported_HybridGlobalizationWithCompareOptionsForCulture
  • PlatformNotSupported_HybridGlobalizationWithMatchLength
  • PlatformNotSupported_HybridGlobalization
  • PlatformNotSupportedWithReason_HybridGlobalization

Customer Impact

Users hitting these exceptions receive incorrect guidance suggesting a configuration option that no longer exists.

Original prompt

In Strings.resx, there is a few exceptions with hybrid globalization reference and they refer to HybridGlobalization=true on this platform. Disable it to load larger ICU bundle, then use this option. That is no longer true and you cannot disable hybrid globalization any more. Instead people should adjust their code and open an issue in dotnet/runtime to let us know.


💡 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.

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]>
Copilot AI changed the title [WIP] Remove hybrid globalization references from Strings.resx Update HybridGlobalization error messages to remove obsolete guidance Dec 18, 2025
Copilot AI requested a review from matouskozak December 18, 2025 17:10
… 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]>
Copy link
Contributor

Copilot AI left a 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>
Copy link

Copilot AI Dec 18, 2025

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.

Copilot uses AI. Check for mistakes.
</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>
Copy link

Copilot AI Dec 18, 2025

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.

Copilot uses AI. Check for mistakes.
</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>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<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.

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-globalization
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants