Skip to content

Fix untranslated 'Why It Matters' sentences and truncated breadcrumbs in all 14 language versions#821

Merged
pethers merged 2 commits intomain-580be21481d961ccfrom
copilot/sub-pr-816
Mar 5, 2026
Merged

Fix untranslated 'Why It Matters' sentences and truncated breadcrumbs in all 14 language versions#821
pethers merged 2 commits intomain-580be21481d961ccfrom
copilot/sub-pr-816

Conversation

Copy link
Contributor

Copilot AI commented Mar 5, 2026

Two content quality issues across the 2026-03-05 government propositions articles: policy-domain explanatory sentences in non-English/non-Swedish files were left in English, and breadcrumb name fields at position 3 were truncated to 50 characters.

Untranslated explanatory sentences

12 language files (AR, DA, DE, ES, FI, FR, HE, JA, KO, NL, NO, ZH) had the policy-domain label translated but the following explanatory sentence still in English:

<!-- Before (ZH example) -->
<p><strong>为什么重要:</strong> 涉及环境和气候政策领域。 Environmental proposals must navigate competing interests from industry, regional governments, and EU climate commitments, making parliamentary support critical.</p>

<!-- After -->
<p><strong>为什么重要:</strong> 涉及环境和气候政策领域。 环境相关提案必须在工业界、地方政府和欧盟气候承诺等相互竞争的利益之间寻求平衡,因此争取议会支持至关重要。</p>

Covers 7 policy-domain sentence types: Environmental, Fiscal, Education, Justice, Migration, Healthcare, Defence.

Truncated breadcrumb names

8 files (DA, DE, EN, ES, FI, FR, NL, NO) had the breadcrumb name at structured-data position 3 cut off at 50 characters. Fixed to use the full article title, also correcting the matching <title> and <h1> tags that were accidentally doubled during the initial fix.

// Before (EN)
{ "position": 3, "name": "Government Propositions: Policy Priorities This We" }

// After
{ "position": 3, "name": "Government Propositions: Policy Priorities This Week" }

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

… 14 language versions

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title [WIP] Add government propositions articles for 2026-03-05 Fix untranslated 'Why It Matters' sentences and truncated breadcrumbs in all 14 language versions Mar 5, 2026
@pethers pethers marked this pull request as ready for review March 5, 2026 09:06
@pethers pethers merged commit 3746f45 into main-580be21481d961cc Mar 5, 2026
@pethers pethers deleted the copilot/sub-pr-816 branch March 5, 2026 09:06
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