Lingui (gettext) spike (#3) #34
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba!34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/3-lingui-spike"
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?
Closes #3.
.pocatalogs (English msgids,en+de),npm run i18n:extract/i18n:compile; compiled catalogs are git-ignored and built before dev/build and after install.@lingui/swc-pluginpinned to 6.7.1: plugins.swc.rs doesn't list Next 16.4 yet, so the version was matched on the SWC crates inside Next's binary and the plugin wasm (swc_ecma_ast29,swc_common26). Works under Turbopack; re-check on every Next upgrade (ADR-0007).kataba-localecookie, elseAccept-Language(q-values, region subtags), elseen; no URL prefix.Account, Titlebar home link. Translated Client Components:ThemeSwitch, newLocaleSwitch(sets the cookie via a Server Action). All locale reads under<Suspense>; routes stay partially prerendered.resolveLocaleunit tests, render tests with the German catalog (Babel macro in Vitest).Open for later:
<html lang>isenin the server HTML until hydration; the theme switch briefly shows in English for German visitors.🤖 Generated with Claude Code