Skip to content

🌐 Article Translations - 2026-03-20 (interpellation-debates, week-ahead)#1311

Merged
pethers merged 1 commit intomainfrom
translate/2026-03-20-interpellation-week-ahead-af3979e85229e345
Mar 20, 2026
Merged

🌐 Article Translations - 2026-03-20 (interpellation-debates, week-ahead)#1311
pethers merged 1 commit intomainfrom
translate/2026-03-20-interpellation-week-ahead-af3979e85229e345

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Article Translations

Date: 2026-03-20
Languages: da, no, fi, de, fr, es, nl, ar, he, ja, ko, zh (12 languages)
Article types: interpellation-debates, week-ahead
Articles translated: 24 (12 languages × 2 types)

Translation Details

Article Type Languages Files
interpellation-debates da, no, fi, de, fr, es, nl, ar, he, ja, ko, zh 12
week-ahead da, no, fi, de, fr, es, nl, ar, he, ja, ko, zh 12

Quality Checks

  • ✅ HTMLHint validation: 0 errors across all 24 files
  • ✅ Untranslated markers: 0 data-translate="true" spans
  • ✅ Language parity: all translations within ~3% line count of EN source
  • ✅ Navigation elements: language switcher, top nav, footer links present
  • ✅ RTL support: ar/he articles include proper dir="rtl" attributes
  • ✅ No EN/SV files included (managed by content workflows)

Source

Generated via generate-news-enhanced.ts with live MCP data from news-translate workflow.

Generated by News: Translate Articles ·

Add 24 translated articles (12 languages × 2 article types):
- interpellation-debates: da, no, fi, de, fr, es, nl, ar, he, ja, ko, zh
- week-ahead: da, no, fi, de, fr, es, nl, ar, he, ja, ko, zh

All articles pass HTMLHint validation with zero untranslated markers.
Generated via generate-news-enhanced.ts with MCP data.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pethers pethers marked this pull request as ready for review March 20, 2026 11:40
Copilot AI review requested due to automatic review settings March 20, 2026 11:40
@pethers pethers merged commit 4e7d220 into main Mar 20, 2026
2 checks passed
@pethers pethers deleted the translate/2026-03-20-interpellation-week-ahead-af3979e85229e345 branch March 20, 2026 11:40
Copy link
Copy Markdown
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

Adds multi-language translated news articles for the 2026-03-20 publication batch (interpellation-debates and week-ahead), expanding non-EN/SV coverage of the site’s generated political intelligence content.

Changes:

  • Add translated “Week Ahead” article pages (sampled: zh/nl/es).
  • Add translated “Interpellation Debates” analysis pages (sampled: zh/es/de).
  • Include per-page metadata (OpenGraph/Twitter/JSON-LD) and navigation elements for the translated pages.

Reviewed changes

Copilot reviewed 24 out of 24 changed files in this pull request and generated 13 comments.

Show a summary per file
File Description
news/2026-03-20-week-ahead-zh.html Chinese “Week Ahead” translation page + metadata/navigation
news/2026-03-20-week-ahead-nl.html Dutch “Week Ahead” translation page + metadata/navigation
news/2026-03-20-week-ahead-es.html Spanish “Week Ahead” translation page + metadata/navigation
news/2026-03-20-interpellation-debates-zh.html Chinese “Interpellation Debates” translation page + metadata/navigation
news/2026-03-20-interpellation-debates-es.html Spanish “Interpellation Debates” translation page + metadata/navigation
news/2026-03-20-interpellation-debates-de.html German “Interpellation Debates” translation page + metadata/navigation

</div>
</footer>

<script type="module" src="../scripts/back-to-top.ts"></script>
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The page is loading a TypeScript source file (../scripts/back-to-top.ts). Browsers can’t execute TypeScript syntax, so this will throw at runtime and the back-to-top feature (and possibly subsequent scripts) will break. Switch this to the deployed JavaScript asset (e.g. ../js/back-to-top.js) consistent with other published news pages.

Suggested change
<script type="module" src="../scripts/back-to-top.ts"></script>
<script type="module" src="../js/back-to-top.js"></script>

Copilot uses AI. Check for mistakes.
<div class="document-entry">
<h4><a href="https://riksdagen.se/sv/dokument-och-lagar/dokument/HDA3NU202603241100/" target="_blank" rel="noopener noreferrer"><span lang="sv">工业贸易委员会s sammanträde</span></a></h4>
<p><span class="doc-date"><strong>发布日期:</strong> <time datetime="2026-03-24 11:00:00">2026-03-24 11:00:00</time></span></p>
<p class="policy-significance">涉及贸易和产业政策领域。 Industry and trade proposals engage international commitments, EU single-market rules, and domestic competitiveness imperatives simultaneously.</p>
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This paragraph contains an English sentence embedded in the Chinese translation, indicating incomplete translation/localization of the article body. Please translate the remaining English text or remove it to keep the page language consistent.

Suggested change
<p class="policy-significance">涉及贸易和产业政策领域。 Industry and trade proposals engage international commitments, EU single-market rules, and domestic competitiveness imperatives simultaneously.</p>
<p class="policy-significance">涉及贸易和产业政策领域。工业和贸易相关提案同时牵涉国际承诺、欧盟单一市场规则以及国内竞争力要求。</p>

Copilot uses AI. Check for mistakes.
</div>
</footer>

<script type="module" src="../scripts/back-to-top.ts"></script>
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The page is loading a TypeScript source file (../scripts/back-to-top.ts). Browsers can’t execute TypeScript syntax, so this will throw at runtime. Use the deployed JavaScript asset instead (e.g. ../js/back-to-top.js).

Suggested change
<script type="module" src="../scripts/back-to-top.ts"></script>
<script type="module" src="../js/back-to-top.js"></script>

Copilot uses AI. Check for mistakes.
Comment on lines +273 to +276
<h4><a href="https://riksdagen.se/sv/dokument-och-lagar/dokument/HDA3NU202603241100/" target="_blank" rel="noopener noreferrer"><span lang="sv">Commissie voor Industrie en Handels sammanträde</span></a></h4>
<p><span class="doc-date"><strong>Gepubliceerd:</strong> <time datetime="2026-03-24 11:00:00">2026-03-24 11:00:00</time></span></p>
<p class="policy-significance">Raakt aan handels- en industriebeleid. Industry and trade proposals engage international commitments, EU single-market rules, and domestic competitiveness imperatives simultaneously.</p>
</div>
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Dutch translation still contains an English sentence in the body content, which breaks language consistency and looks like an incomplete translation. Please translate the remaining English text or remove it.

Copilot uses AI. Check for mistakes.
</div>
</footer>

<script type="module" src="../scripts/back-to-top.ts"></script>
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The page is loading a TypeScript source file (../scripts/back-to-top.ts). Browsers can’t execute TypeScript syntax, so this will throw at runtime. Use the deployed JavaScript asset instead (e.g. ../js/back-to-top.js).

Suggested change
<script type="module" src="../scripts/back-to-top.ts"></script>
<script type="module" src="../js/back-to-top.js"></script>

Copilot uses AI. Check for mistakes.

<div class="interpellation-entry">
<h4><span lang="sv">Ändring av vindkraftspolitik</span></h4>
<p><strong>Presentada por:</strong> vindkraftspolitik av Linus Lakso (MP)</p>
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Presentada por" field includes leftover Swedish subject text ("vindkraftspolitik av") instead of just the MP name/party. This appears to be an extraction/templating error and makes the attribution incorrect.

Suggested change
<p><strong>Presentada por:</strong> vindkraftspolitik av Linus Lakso (MP)</p>
<p><strong>Presentada por:</strong> Linus Lakso (MP)</p>

Copilot uses AI. Check for mistakes.
{
"@type": "ListItem",
"position": 3,
"name": "Debates de interpelación: El gobierno rinde cuenta",
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BreadcrumbList item name is missing the final 's' ("rinde cuenta" vs page title "rinde cuentas"), so structured data doesn’t match the visible title. Please make the breadcrumb name exactly match the page title.

Suggested change
"name": "Debates de interpelación: El gobierno rinde cuenta",
"name": "Debates de interpelación: El gobierno rinde cuentas",

Copilot uses AI. Check for mistakes.
<h2>Dinámica de coalición</h2>
<div class="context-box">
<ul>
<li>S: 11 interpelaciónes presentadas</li>
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling: "interpelaciónes" is incorrect in Spanish (the plural does not take an accent here). Use "interpelaciones".

Suggested change
<li>S: 11 interpelaciónes presentadas</li>
<li>S: 11 interpelaciones presentadas</li>

Copilot uses AI. Check for mistakes.
</div>
</footer>

<script type="module" src="../scripts/back-to-top.ts"></script>
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The page is loading a TypeScript source file (../scripts/back-to-top.ts). Browsers can’t execute TypeScript syntax, so this will throw at runtime. Switch to the deployed JavaScript asset (e.g. ../js/back-to-top.js).

Suggested change
<script type="module" src="../scripts/back-to-top.ts"></script>
<script type="module" src="../js/back-to-top.js"></script>

Copilot uses AI. Check for mistakes.
{
"@type": "ListItem",
"position": 3,
"name": "Interpellationsdebatten: Regierung in der Verantwo",
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BreadcrumbList item name is truncated ("…Verantwo"), which makes the structured data inaccurate and can hurt SEO/snippets. Use the full page title for the breadcrumb name instead of truncating it.

Suggested change
"name": "Interpellationsdebatten: Regierung in der Verantwo",
"name": "Interpellationsdebatten: Regierung in der Verantwortung",

Copilot uses AI. Check for mistakes.
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.

2 participants