Skip to content
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

Translation Issue: Many fragment hyperlinks don't work in translated content #10712

Open
SetTrend opened this issue Nov 26, 2024 · 5 comments
Open
Labels
area-System.Text.RegularExpressions docs-experience Indicates issues that are about the learn.microsoft.com experience or design Pri3 Indicates issues/PRs that are low priority untriaged New issue has not been triaged by the area owner

Comments

@SetTrend
Copy link

Type of issue

Other (describe below)

Description

In translated content on learn.microsoft.com, fragment hyperlinks don't lead to their corresponding heading.

For example, visit this page in German:
https://learn.microsoft.com/de-de/dotnet/api/system.text.regularexpressions.regex.replace

… and visit any fragment hyperlink in there.

Here's a non-functional example:
https://learn.microsoft.com/de-de/dotnet/api/system.text.regularexpressions.regex.replace?view=net-9.0#system-text-regularexpressions-regex-replace(system-string-system-string)

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.replace?view=net-9.0#system-text-regularexpressions-regex-replace(system-string-system-string)

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Text.RegularExpressions/Regex.xml

Document Version Independent Id

16e735bf-9c96-3a28-ab98-b0cf74c38a97

Article author

@dotnet-bot

@issues-automation issues-automation bot added the Pri3 Indicates issues/PRs that are low priority label Nov 26, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Nov 26, 2024
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Nov 26, 2024
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@ViktorHofer ViktorHofer added area-System.Text.RegularExpressions and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Dec 3, 2024
@ViktorHofer
Copy link
Member

cc @dotnet/area-system-text-regularexpressions

@gewarren
Copy link
Contributor

gewarren commented Dec 4, 2024

I'm not seeing the problem. When I click the method overloads, they take me to the correct section of the page. Can you elaborate on the issue?

@gewarren gewarren added the needs-author-action An issue or pull request that requires more info or actions from the author. label Dec 9, 2024
@SetTrend
Copy link
Author

@gewarren:

I did some research and noticed that the issue is based in Microsoft Learn displaying a footer. The footer is scrolling the target out of the viewport:

I Image

If you scrutinize the above screencast, you will notice that the footer is only displayed in the Firefox webbrowser, but not in MS Edge.

Strange …

@dotnet-policy-service dotnet-policy-service bot removed the needs-author-action An issue or pull request that requires more info or actions from the author. label Dec 10, 2024
@gewarren gewarren added the docs-experience Indicates issues that are about the learn.microsoft.com experience or design label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Text.RegularExpressions docs-experience Indicates issues that are about the learn.microsoft.com experience or design Pri3 Indicates issues/PRs that are low priority untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

3 participants