editor: German catalog and layout pass #226
Labels
No labels
bug
enhancement
needs-triage
ready-for-agent
ready-for-human
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/deckle#226
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Ship the editor in German: a complete
decatalog for every key the i18n runtime (#225) uses, including every server error code (#224), plus a layout pass so the longer German strings fit the chrome.Current behavior
After #225 the editor has a translation runtime, a complete English catalog and language resolution from
Accept-Language, but only one catalog. A request withAccept-Language: derenders English.Desired behavior
de.jsonnext toen.jsonwith every key translated: UI strings, plural forms (key.one/key.other), and theserver.*namespace for every exported error code, with the same{name}placeholders as the English entry.de.json: every used key, every server code, nothing unused.Accept-Language: deand asserts a translated string andhtml[lang="de"].Decisions
[Translate to <label>:]content marker stays English.Key interfaces
web/src/styles.cssand component styles for the layout fixes.Acceptance criteria
de.jsonpasses the parity test: complete, no unused keys, all server codes.testdata/siteandtestdata/multilingual-siterenders German, including a validation error under a field, an operation refusal in the error strip, the pending-changes list and the publish flow.How to verify
make test;make build.harness serve --site testdata/multilingual-sitewith the browser's language set to German; walk every module, open each dialog, trigger a field error and a conflict (rename a page to an existing slug).Assumptions to check
Intl.PluralRulesfordereturns onlyoneandother— it does, but confirm the catalog never needs a third form.Out of scope
Blocked by