Skip to content

feat: use Sakekeep in German - #101

Draft
patriksimms wants to merge 2 commits into
mainfrom
feat/german-localization
Draft

feat: use Sakekeep in German#101
patriksimms wants to merge 2 commits into
mainfrom
feat/german-localization

Conversation

@patriksimms

@patriksimms patriksimms commented Sep 5, 2026

Copy link
Copy Markdown
Owner

German-speaking organizers and contributors can now use Sakekeep in German. Organizer language is remembered in a cookie; each new book has its own language, which controls the contributor form, print defaults, and hyphenation.

  • German is the base locale, with English available from the header. URLs stay unchanged.
  • Existing projects remain English. New projects default to German in the database and are prefilled from the organizer language in the creation dialog.
  • Browser previews and PDFs use the same German syllable breaks. Older German generations require regeneration; saved page problems use codes and parameters so they can be shown in either language.
  • Clerk UI, consent controls, validation, and export reports are localized. Browser tests use stable IDs for translated controls.

Validation: 436 unit tests and 24 browser tests passed, including German editor/preview/PDF parity and organizer/contributor language isolation. The two production smoke tests are intentionally skipped locally. Formatting, lint, type checking, production build, and both Compose checks pass.

Matched before/after screenshots use synthetic local data in the real app at 1440 × 1000. Evidence is attached to #98 and stored in visual-artifacts/localization/.

Deployment: run the database migrations. Configure German authentication emails separately in Clerk's dashboard; no new environment variables or services are needed. Patrik will update legal texts separately, as agreed. English-authored demo fixtures retain English book language.

Delivery status: Macroscope reports “Credit balance exhausted.” Its review cannot complete, so this PR remains draft pending that external gate.

Closes #98.

Implemented with GPT-6 in the Codex harness.

Add Paraglide and German hyphenation dependencies for #98.
Verify plural variants compile to correct German singular and plural.
Legal text updates are deferred to the owner.

AI-Assisted: true
AI-Agent: codex
AI-Model: openai/gpt-6
@coderabbitai

coderabbitai Bot commented Sep 5, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Comment @coderabbitai help to get the list of available commands.

Add cookie-based organizer language and independent book language for
contributor forms, print defaults, and shared German hyphenation.
Backfill existing projects to English and persist page-problem facts
instead of translated prose. Localize application and Clerk UI text.

Legal page bodies remain unchanged at Patrik's request. Clerk email
language requires a separate dashboard configuration.

Validate with 436 unit tests, browser workflow and rendering parity
checks, type checking, lint, formatting, production build, and Compose
configuration checks. Include matched local before/after evidence.

Refs #98 and #101.

AI-Assisted: true
AI-Agent: codex
AI-Model: openai/gpt-6
@patriksimms

Copy link
Copy Markdown
Owner Author

@coderabbitai help

@coderabbitai

coderabbitai Bot commented Sep 5, 2026

Copy link
Copy Markdown

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

CodeRabbit commands

These commands are invoked using PR/Issue comments.

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai review --preview-config to test the unmerged CodeRabbit configuration on a draft PR. The requester must have repository write access; preview results are non-authoritative.
  • @coderabbitai rate limit to show your current review rate limit status.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai evaluate custom pre-merge check --instructions <custom-checks-instructions> --name <custom-checks-title> [--mode <error|warning>] to validate the custom pre-merge checks instructions. Defaults to error when --mode is omitted.
  • @coderabbitai ignore pre-merge checks to override pre-merge checks and get an approval on PR.
  • @coderabbitai run pre-merge checks to run pre-merge checks on the pull request.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai emit path instructions to emit generated path-specific review instructions for this repository.
  • @coderabbitai resolve merge conflict to automatically resolve merge conflicts.
  • @coderabbitai autofix to automatically fix issues in the current review thread, or all unresolved review comments when used in the PR conversation.
  • @coderabbitai fix-ci to automatically fix failing CI checks in a stacked pull request.
  • @coderabbitai fix-ci commit to automatically fix failing CI checks by committing fixes to the current branch.
  • @coderabbitai resolve to resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai generate configuration to create a PR that adds the current resolved configuration as .coderabbit.yaml (or show it if already present).
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit configuration file (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, support, documentation and community

  • Visit our status page to check the current availability of CodeRabbit.
  • Create a ticket on our support page for assistance with any issues or questions.
  • Visit our documentation site for detailed information on how to use CodeRabbit.
  • Join our Discord community to connect with other users and get help from the community.
  • Follow us on X/Twitter for updates and announcements.

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.

German localization — make de the default locale

1 participant