Skip to content

i18n(nl): translate built-in widget UI strings#2114

Open
mikepage wants to merge 2 commits into
emdash-cms:mainfrom
mikepage:i18n/nl-widget-strings
Open

i18n(nl): translate built-in widget UI strings#2114
mikepage wants to merge 2 commits into
emdash-cms:mainfrom
mikepage:i18n/nl-widget-strings

Conversation

@mikepage

@mikepage mikepage commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Follow-up to #2035 review comment.

PR #2057 (i18n(admin): localize built-in widget UI labels) introduced new msg source strings for the built-in widget UI (Recent Posts, category list, tag cloud, search form, monthly/yearly archives) plus their prop-field and option labels, but shipped no translations. The merge-time pnpm locale:extract added these 18 msgids to the catalogs untranslated.

This PR fills in the Dutch translations for all 18 new widget msgids in packages/admin/src/locales/nl/messages.po, following the existing catalog's register: informal, sentence case, infinitive button/label forms.

English Dutch
Recent Posts Recente berichten
Display a list of recent posts Een lijst met recente berichten weergeven
Display category list Een lijst met categorieën weergeven
Display tag cloud Een tagwolk weergeven
Search form Zoekformulier
Monthly/yearly archives Maandelijkse/jaarlijkse archieven
Number of posts Aantal berichten
Show thumbnails Miniaturen tonen
Show date Datum tonen
Show post count Aantal berichten tonen
Show hierarchy Hiërarchie tonen
Show count Aantal tonen
Maximum tags Maximumaantal tags
Placeholder text Placeholdertekst
Group by Groeperen op
Limit Limiet
Monthly Maandelijks
Yearly Jaarlijks

Closes #

Type of change

  • Bug fix
  • Feature (requires maintainer-approved Discussion)
  • Refactor (no behavior change)
  • Translation
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Checklist

  • I have read CONTRIBUTING.md
  • pnpm typecheck passes — n/a, translation-only (.po); no code changed
  • pnpm lint passes — n/a, .po file not linted; no new diagnostics
  • pnpm test passes — n/a, translation-only
  • pnpm format has been run — n/a, .po files are not oxfmt-managed
  • I have added/updated tests for my changes (if applicable) — n/a, translation-only
  • User-visible strings in the admin UI are wrapped for translation (if applicable). Do not include messages.po changes except in translation PRs — a workflow extracts catalogs on merge to main. — This is a translation PR; only the nl catalog changed.
  • I have added a changeset (if this PR changes a published package) — @emdash-cms/admin patch
  • New features link to an approved Discussion — n/a, not a feature

AI-generated code disclosure

  • This PR includes AI-generated code — model/tool: Claude Opus 4.8 (1M context)

Screenshots / test output

Translation-only change to packages/admin/src/locales/nl/messages.po (18 msgstr filled in). No behavior or code changed.

PR emdash-cms#2057 added new source strings for the built-in widget UI (Recent
Posts, category list, tag cloud, search form, archives) plus their
prop-field and option labels. The merge-time locale extraction added
these msgids to the catalogs untranslated.

Fill in the Dutch translations for all 18 new widget msgids in the nl
catalog, following the existing register (informal, sentence case,
infinitive labels).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jul 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5be6803

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@emdash-cms/admin Patch
emdash Patch
@emdash-cms/cloudflare Patch
@emdash-cms/sandbox-workerd Patch
@emdash-cms/fixture-perf-site Patch
@emdash-cms/perf-demo-site Patch
@emdash-cms/cache-demo-site Patch
@emdash-cms/do-demo-site Patch
@emdash-cms/do-solo-demo-site Patch
@emdash-cms/auth Patch
@emdash-cms/blocks Patch
@emdash-cms/gutenberg-to-portable-text Patch
@emdash-cms/x402 Patch
create-emdash Patch
@emdash-cms/auth-atproto Patch
@emdash-cms/plugin-embeds Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions Bot added area/admin size/S review/needs-review No maintainer or bot review yet labels Jul 18, 2026
@github-actions

github-actions Bot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
packages/admin/src/locales/nl/messages.po Localization changed, will be marked as complete.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@pkg-pr-new

pkg-pr-new Bot commented Jul 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

@emdash-cms/admin

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/admin@2114

@emdash-cms/auth

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/auth@2114

@emdash-cms/auth-atproto

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/auth-atproto@2114

@emdash-cms/blocks

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/blocks@2114

@emdash-cms/cloudflare

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/cloudflare@2114

@emdash-cms/contentful-to-portable-text

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/contentful-to-portable-text@2114

emdash

npm i https://pkg.pr.new/emdash-cms/emdash@2114

create-emdash

npm i https://pkg.pr.new/emdash-cms/emdash/create-emdash@2114

@emdash-cms/gutenberg-to-portable-text

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/gutenberg-to-portable-text@2114

@emdash-cms/plugin-cli

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/plugin-cli@2114

@emdash-cms/plugin-types

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/plugin-types@2114

@emdash-cms/registry-client

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/registry-client@2114

@emdash-cms/registry-lexicons

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/registry-lexicons@2114

@emdash-cms/registry-verification

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/registry-verification@2114

@emdash-cms/sandbox-workerd

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/sandbox-workerd@2114

@emdash-cms/x402

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/x402@2114

@emdash-cms/plugin-ai-moderation

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/plugin-ai-moderation@2114

@emdash-cms/plugin-atproto

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/plugin-atproto@2114

@emdash-cms/plugin-audit-log

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/plugin-audit-log@2114

@emdash-cms/plugin-color

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/plugin-color@2114

@emdash-cms/plugin-embeds

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/plugin-embeds@2114

@emdash-cms/plugin-field-kit

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/plugin-field-kit@2114

@emdash-cms/plugin-forms

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/plugin-forms@2114

@emdash-cms/plugin-webhook-notifier

npm i https://pkg.pr.new/emdash-cms/emdash/@emdash-cms/plugin-webhook-notifier@2114

commit: 5be6803

@emdashbot emdashbot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The approach is exactly right: this is a scoped translation PR that fills the 18 untranslated Dutch msgstrs introduced by #2057, without touching any source code. As a follow-up translation PR, updating only the nl catalog is the correct process.

I checked:

  • The diff is limited to packages/admin/src/locales/nl/messages.po.
  • All 18 new widget msgids from packages/admin/src/components/Widgets.tsx are translated (Display a list of recent posts, Display category list, Display tag cloud, Search form, Monthly/yearly archives, Number of posts, Show thumbnails, Show date, Show post count, Show hierarchy, Show count, Maximum tags, Placeholder text, Group by, Limit, Monthly, Yearly, and Recent Posts).
  • The Dutch register matches the existing catalog: informal tone, sentence case, and the established {noun} tonen pattern for Show … labels (e.g., existing Show tokenToken tonen).
  • Shared labels such as Categories, Tags, Search, and Archives were already translated and are not duplicated or conflicting.
  • No empty msgstr entries remain for Widgets.tsx-sourced strings.

No bugs, regressions, or AGENTS.md violations found. LGTM.

@github-actions github-actions Bot added review/needs-rereview Author pushed changes since the last review and removed review/needs-review No maintainer or bot review yet labels Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/admin review/needs-rereview Author pushed changes since the last review size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant