fix: localize language switcher aria-labels and BreadcrumbList breadcrumbs for all non-English committee report pages#529
Merged
pethers merged 2 commits intonews/committee-reports-2026-02-25-b50f2fcee1cde105from Feb 25, 2026
Conversation
…for all 13 non-English pages Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update automated generation of committee reports analysis
fix: localize language switcher aria-labels and BreadcrumbList breadcrumbs for all non-English committee report pages
Feb 25, 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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
All 13 non-English committee report pages had hardcoded English values for the language switcher
aria-labeland JSON-LDBreadcrumbListitem names, breaking accessibility and structured data semantics for non-English locales.Changes
LANG_SWITCHER_ARIA_LABELS(constants.ts) for all 13 pages (ar,da,de,es,fi,fr,he,ja,ko,nl,no,sv,zh):"Home"and"News"to localized equivalents fromBREADCRUMB_TRANSLATIONS(constants.ts) for all non-English pages:Dutch
homestays as"Home"— matching thenlentry inBREADCRUMB_TRANSLATIONS. English page is unchanged.💡 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.