Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 29, 2025

Fix overlocalization of formatting symbols in TimeSpan format strings documentation

  • Revert previous changes that wrapped output strings
  • Wrap format specifiers in the first column of the table with backticks
  • Update format specifier references in table links
  • Update all section headings with backtick-wrapped format specifiers
  • Update all inline format specifier references throughout the document
  • Fix YAML frontmatter that was accidentally modified
  • Remove quotes from individual character references in descriptions
  • Verify changes with markdown linting (passes with 0 errors)

Summary

Successfully wrapped all format specifiers (e.g., "d", "%d", "hh", etc.) with backticks throughout the document per @gewarren's feedback. Also fixed character count descriptions to reference individual characters without quotes (e.g., with seven F characters instead of with seven "F" characters).

Changes ensure localization systems will not translate the format specifier strings themselves, fixing the Korean localization issue where format specifiers were being incorrectly translated.

Original prompt

This section details on the original issue you should resolve

<issue_title>[UUF] Overlocalization of formatting symbols</issue_title>
<issue_description>### Type of issue

Other (describe below)

Description

Even the formatting symbols in the format are translated into Korean and cannot be referenced.

Page URL

https://learn.microsoft.com/ko-kr/dotnet/standard/base-types/custom-timespan-format-strings

Content source URL

https://github.com/dotnet/docs/blob/main/docs/standard/base-types/custom-timespan-format-strings.md

Document Version Independent Id

1f663894-736b-ae1c-92c8-3eff42e68150

Platform Id

e3461880-bb16-8dd6-5efc-ff989e369c6a

Article author

@adegeo

Metadata

  • ID: 59db63c5-ec55-ad7d-9a4c-b08a1e2510eb
  • PlatformId: e3461880-bb16-8dd6-5efc-ff989e369c6a
  • Service: dotnet-fundamentals

Related Issues</issue_description>

<agent_instructions>Please use backticks to prevent formatting symbols from being localized.</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.


Internal previews

📄 File 🔗 Preview link
docs/standard/base-types/custom-timespan-format-strings.md docs/standard/base-types/custom-timespan-format-strings

Copilot AI changed the title [WIP] Fix overlocalization of formatting symbols in Korean Prevent localization of formatting symbols in TimeSpan format strings documentation Dec 29, 2025
Copilot AI requested a review from gewarren December 29, 2025 21:29
Copilot AI changed the title Prevent localization of formatting symbols in TimeSpan format strings documentation Prevent localization of format specifiers in TimeSpan format strings documentation Dec 30, 2025
Copilot AI requested a review from gewarren December 30, 2025 00:30
@gewarren gewarren marked this pull request as ready for review December 30, 2025 02:39
@gewarren gewarren requested review from a team and adegeo as code owners December 30, 2025 02:39
Copilot AI review requested due to automatic review settings December 30, 2025 02:39
@gewarren gewarren enabled auto-merge (squash) December 30, 2025 02:40
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

This PR fixes a Korean localization issue where TimeSpan format specifiers were being incorrectly translated. The solution wraps all format specifiers with backticks throughout the documentation to prevent the localization system from translating these technical strings.

Key changes:

  • Wrapped all format specifiers in the reference table with backticks (e.g., "d", "%d", "hh")
  • Updated all section headings to use backtick-wrapped format specifiers
  • Updated all inline references to format specifiers throughout the document body

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.

[UUF] Overlocalization of formatting symbols

2 participants