Per-user interface language #38
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba#38
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?
Part of #1
Problem
ADR-0007 says the locale comes from "the user's setting, a cookie or
Accept-Language", and its setup notes say the per-user setting "does not exist yet; when it comes, it goes before the cookie".User.localeexists in the schema ("Preferred interface locale; null follows the browser") but nothing reads or writes it.Acceptance criteria
User.locale;resolveLocaleprefers it over the cookie; null follows cookie /Accept-Language/ the default locale settingDecided to build it for v1. Implemented in PR #44: User.locale is stored by the language switch for signed-in users and wins over the cookie; null falls through to cookie / Accept-Language / default locale. ADR-0007 updated.