Repository navigation
i18n(de): complete the German admin and settle its terminology - #3324
Conversation
… review The German admin catalog had fallen 72 entries behind after the taxonomy sidebar, link search, content validation messages and the plugin editor-draft and release verification work landed. German-speaking editors saw English in the taxonomy picker and when deleting a taxonomy, the publish confirmation, the URL and language settings, the link and code block language pickers, save validation errors and the save-conflict message, the plugin consent dialog's editor-content warning and release verification, the review dialog for plugin-proposed changes, and the registry's install errors. Validation messages quote the field label, because a label can be plural or German and the quoted form keeps the verb agreeing either way. The code block's "Set language" button now reads "Sprache festlegen" instead of "Sprache speichern": it opens the language choice and saves nothing.
🦋 Changeset detectedLatest commit: f69c18e The changes in this PR will be included in the next version bump. This PR includes changesets to release 12 packages
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 |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
@emdash-cms/admin
@emdash-cms/auth
@emdash-cms/auth-atproto
@emdash-cms/blocks
@emdash-cms/cloudflare
@emdash-cms/contentful-to-portable-text
emdash
create-emdash
@emdash-cms/gutenberg-to-portable-text
@emdash-cms/plugin-cli
@emdash-cms/plugin-test
@emdash-cms/plugin-types
@emdash-cms/registry-client
@emdash-cms/registry-lexicons
@emdash-cms/registry-loader
@emdash-cms/registry-moderation
@emdash-cms/registry-verification
@emdash-cms/sandbox-workerd
@emdash-cms/x402
@emdash-cms/plugin-ai-moderation
@emdash-cms/plugin-atproto
@emdash-cms/plugin-audit-log
@emdash-cms/plugin-color
@emdash-cms/plugin-embeds
@emdash-cms/plugin-field-kit
@emdash-cms/plugin-forms
@emdash-cms/plugin-webhook-notifier
commit: |
There was a problem hiding this comment.
This is a straightforward German-translation PR that fills in 72 previously empty msgstr entries and corrects 2 existing entries for the taxonomy picker, link/code-language pickers, publish confirmations, plugin-consent and plugin-review dialogs, validation messages, and registry errors.
Approach: Correct. Translation PRs are the only place where packages/admin/src/locales/de/messages.po changes are expected (per AGENTS.md/CONTRIBUTING.md), and the catalog is the right surface to change. No source code is modified, so there is no runtime/authorization/query-count risk.
What I checked:
- Parsed every changed entry from the diff and compared placeholder names (
{0},{label},{name},{bound},#, etc.) between eachmsgidand its new Germanmsgstr. All match. - Verified German plural forms use
one/other, which matches the header’snplurals=2; plural=(n != 1)rule. - Cross-checked terminology against existing entries: taxonomy strings continue to use “Taxonomie/entfernen”, plugin strings continue to use “Erweiterung”, and the informal “du” register is consistent with the rest of the catalog.
- Confirmed a valid changeset is included for
@emdash-cms/adminpatch and is user-facing. - Confirmed only the changeset and the German catalog were changed.
Conclusion: The translations are technically sound, consistent, and follow repo conventions. No findings.
Upstream added about 550 admin strings since the last German pass, in site transfer, content relations, bulk term assignment, the bylines directory, block types and CLI device sign-in. German-speaking editors saw them in English. A review of the 2,400 older entries against their source found mistranslations (a passkey name read as a user name, Integer and Number both shown as "Zahl"), calques and one-off terms. The catalog now uses one term per concept: Plugin, Sammlung, veröffentlichen, löschen for delete and entfernen for remove, Beziehung for content relations. Progress messages use the passive, buttons the infinitive, and quotes German quotation marks.
The catalog extraction after emdash-cms#1939 and emdash-cms#3303 added five admin strings: the dashboard's core update notice and the error for a URL pattern with two placeholders in one path segment. German admins would have seen them in English on every site that has an update waiting. The changeset now names the update notice, the invitation emails and the unpublish term switch (depublizieren to zurückziehen).
There was a problem hiding this comment.
Approach: Correct. This PR only touches the German admin catalog and its changeset, which is exactly the surface a translation PR should change. There are no source-code, schema, authorization, or query-count changes to worry about.
What I checked:
- The diff metadata shows two files changed: the changeset and
packages/admin/src/locales/de/messages.po. The per-line.podiff was elided in the provided diff file because of its size (~8,400 lines), so I validated the HEAD version of the catalog statically instead of hunk-by-hunk. - Parsed all 3,070
.poentries (3,069 plus the header) and checked for emptymsgstrvalues: none. - Verified German plural entries always have
[0]and[1], matching the header’snplurals=2; plural=(n != 1);rule. - Compared ICU placeholders, plural variables, and HTML-like
<N>tags between everymsgid/msgid_pluraland its German translation: no missing or extra placeholders, no unbalanced braces, and no suspicious escape sequences. - Cross-checked the PR’s stated terminology consolidation in the head catalog. The old terms (“Erweiterung”, “Kollektion”, “Autorenzeile”, “Webseite”, “publizieren”, “depublizieren”) are absent from translations; the new terms (“Plugins”, “Sammlungen”, “Autorenangaben”, “Website”, “veröffentlichen”, “zurückziehen”) appear in consistent contexts.
- Confirmed the specific corrections mentioned in the description:
Integer→ “Ganzzahl”,Number→ “Zahl”, and passkey-name strings use “Passkey-Name”, not a username translation. - Reviewed the changeset against
.changeset/README.md: it names the affected audience (German-speaking editors), lists concrete UI areas, explains observable terminology changes, and uses a present-tense lead. The patch bump is appropriate for a translation-only change.
Conclusion: The German catalog is internally consistent, technically valid, and follows repo conventions for translation-only changes. No findings.
What does this PR do?
Completes the German admin catalog for 1.0. The 626 entries added since #3229 are translated, so all 3,069 entries on
mainhave German text. They cover site transfer, content relations and reference fields, bulk term assignment, the bylines directory, block types, the invitation and sign-in emails, CLI device sign-in, the menu dialog, API token scopes and the dashboard's core update notice.It also changes 595 older entries after a review against their source. Some were mistranslations: a passkey name read as a user name, and Integer and Number both shown as "Zahl". The rest settle one term per concept: plugins are "Plugins" instead of "Erweiterungen", collections "Sammlungen" instead of "Kollektionen", bylines "Autorenangaben" instead of "Autorenzeilen", "Website" replaces "Webseite", publish is "veröffentlichen" and unpublish "zurückziehen", delete is "löschen" and remove stays "entfernen". Progress labels use the passive, buttons the infinitive, and quotes German quotation marks. No code changes; the changeset is a patch.
Type of change
Checklist
pnpm typecheckpassespnpm lintpassespnpm testpasses (or targeted tests for my change)pnpm formathas been runmessages.pochanges except in translation PRs — a workflow extracts catalogs on merge tomain.AI-generated code disclosure
Screenshots / test output
I reviewed every one of these strings myself (German is my native language) and went through screenshots of a running admin set to
deat 1440 px: settings, site transfer after an export, content types and relations, the field editor, the post list with bulk actions, the Tags page, the editor for a draft and a published post with its blocks field, reference picker and image link settings, bylines, menus, plugins and the registry, WordPress import, API tokens, comments and users. No button or badge clips; two search placeholders that did are shorter now.States the walk did not cover: the setup wizard's start choice, the dashboard's import suggestion and the import review and progress screens (they need a new, empty site and, for the import, a package), the plugin consent dialog, the implicit-English tooltip on the content language (it shows only on sites without an i18n config), the core update notice (it needs a release newer than the running one), CLI device sign-in, the invitation and sign-in emails and the magic-link confirmation page, and error states. Two layout limits stay because a translation cannot fix them: the bylines type filter cuts "Alle Autorenangaben" short, since the select has a fixed width and shares the string with the post list's author filter, and the add-term dialog and the taxonomy pages lowercase the taxonomy name ("category zu Beiträgen hinzufügen", "tags für posts verwalten").
ICU placeholders, inline tags and brace balance were checked against the source of every changed entry;
msgfmt --check-formatandlocale:compileare clean.Ten more screenshots