Skip to content

Fix untranslated body content, corrupted German flag, and non-localized aria-labels in 12 opposition motions articles#820

Merged
pethers merged 1 commit intomain-7a9239b964b147d1from
copilot/sub-pr-817
Mar 5, 2026
Merged

Fix untranslated body content, corrupted German flag, and non-localized aria-labels in 12 opposition motions articles#820
pethers merged 1 commit intomain-7a9239b964b147d1from
copilot/sub-pr-817

Conversation

Copy link
Contributor

Copilot AI commented Mar 5, 2026

PR #817 shipped 14 language versions of the 2026-03-05 opposition motions article, but 12 non-SV files had three systematic defects: the article body (lede, all h2/h3 headings, committee refs, intro paragraphs, and "Why It Matters" bodies) remained in English; the German flag emoji was corrupted (🇩🏿🏿 via broken UTF-8 bytes instead of 🇩🇪); and all 14 files used the non-localized aria-label="Language" on the language switcher nav.

Changes

  • Full body translation (12 files: da, no, fi, de, fr, es, nl, ar, he, ja, ko, zh) — replaced the entire <div class="article-content"> block in each file with a fully translated version; all section headings, committee references, intro paragraphs, motion titles, and "Why It Matters" bodies now render in the correct language. RTL files (ar, he) preserve existing dir="rtl" layout.

  • German flag byte fix (14 files) — replaced corrupted multi-byte sequence \xf0\x9f\x87\xa9\xef\xbf\xbd\xef\xbf\xbd with correct 🇩🇪 (\xf0\x9f\x87\xa9\xf0\x9f\x87\xaa) in every language switcher.

  • Localized aria-label on language switcher (14 files) — replaced aria-label="Language" with language-appropriate values (e.g., Sprogversioner for DA, Sprachversionen for DE, 语言版本 for ZH, שפות for HE, etc.) consistent with existing news article patterns.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot stopped work on behalf of pethers due to an error March 5, 2026 08:32
Copilot AI changed the title [WIP] Add opposition motions analysis for March 5 2026 Fix untranslated body content, corrupted German flag, and non-localized aria-labels in 12 opposition motions articles Mar 5, 2026
@pethers pethers marked this pull request as ready for review March 5, 2026 09:38
@pethers pethers merged commit 311786d into main-7a9239b964b147d1 Mar 5, 2026
1 of 2 checks passed
@pethers pethers deleted the copilot/sub-pr-817 branch March 5, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants