Skip to content

Bug: task date calendars keep English dates and day labels in German and French #3744

Closed

Description

@yannickmonney

Bug: task date calendars keep English dates and day labels in German and French

Suggested severity: P3.

Changing the platform language to German or French translates the calendar shell but leaves its date trigger, month heading, weekday names and day labels in English.

Local component reproduction and controls:

  1. Mount the actual platform providers with saved locale de-DE, then with fr-FR. Render the real DatePicker with 15 August 2026 selected and a real DueDateIndicator beside it.
  2. Confirm that the provider resolves the requested locale and that the control renders Speichern / Enregistrer.
  3. Open the date picker. Its dialog is named Kalender / Calendrier and previous/next-month buttons are translated.
  4. The date trigger still reads Aug 15, 2026, the heading August 2026, and the selected day's accessible name Choose Saturday, August 15th, 2026. Weekday headers remain English. The adjacent due chip uses the requested date format (15.08.2026 / 15/08/2026), proving that the locale reached this render.

Expected: the date control's dates and calendar labels follow the active language, consistently with surrounding controls. The UI i18n guide requires one locale source and shared-control translations; the repository ships EN/DE/FR.

Root: the month header calls date-fns format without a locale. The picker supplies a fixed dateFormat and no react-datepicker locale. No global registerLocale/setDefaultLocale bridge exists in the checkout. Fix the shared component once; do not file one issue per date field or language.

Acceptance:

  • Date trigger, month/weekday text, selection announcements and controls all follow EN/DE/FR.
  • Switching the active language updates an already mounted picker.
  • Preserve date selection and clearing behavior.

Evidence: date-picker.probe.test.tsx, date-picker-evidence.json (locale-de-DE, locale-fr-FR), date-picker-run3.log. Real component + providers in jsdom; no real-browser typography, locale pronunciation or full TaskModal integration is claimed. #1959 is the model-catalog last-synced formatter bug; its fixed useFormatDate hook is the passing control here, while DatePicker uses separate libraries without passing a locale. #3635 concerns activity-log numbers, #3619 product prices, and #3603 malformed indexed timestamps; none describes this calendar.

Replay from the detached audit worktree with its installed dependencies:

/Users/yannick/.npm/_npx/22f2fe8d8bc13000/node_modules/.bin/bun x vitest run --config /Users/yannick/.codex/notes/tale-1000-additional/task-dates-next/parent-final.config.ts --silent=false

No production target is used. Both original and isolated browser fixtures are retained; their seeders refuse to reset existing state. The final replay configuration uses the isolated search fixture.

Verified locally against 480ee6a3e6d33c3414a2c0f8a52fded1ddc4ca2d. No production testing, real provider calls or repository source edits. GitHub reporting follows independent local verification. Source comparison is in source-comparison.json; DatePicker, TasksWorkspace, task query hooks, native service, and task adapters are byte-identical to fetched main 2be6c267eaf8b7a67d0e5abe1b0b3d655eb2ca25. FilterPanel has unrelated open/disabled behavior and style changes; its single-select radio implementation is unchanged. TaskModal has unrelated title/description validation changes; its DatePicker bindings are unchanged.

Dedup searched title and full body of all 1,051 all-state issues in issues-live-batch05.json, plus all 102 baseline records. dedup-final.json records corpus hashes, all matches, specific body reviews, and exclusions. All 26 bodies #1941–1966 were read. Manual known debt and repo debt contain no matching accepted gap. Parent independently inspected the proof and source, replayed all eight observation/control cases, and reviewed relevant overlaps. A fresh dedup pass covered all 1,058 issues in issues-live-batch07.json. No matching report was found.

Parent final execution: parent-final-replay.log; all eight cases passed using isolated retained fixtures. Browser observations are confined to the explicitly named cases above.

Activity

  1. added
    agent-ready
    on Oct 29, 2026
  2. tale-code-bot commented on Oct 30, 2026

    @tale-code-bot
    Collaborator

    Already done on main, so the Development board's task for this issue (TALE-33) is cancelled and the issue closed as completed.

    Evidence:

    • Commit 3257d0eff3c345113364dafc2303914de84d5388, "fix(ui): localize the date picker and let the keyboard clear it" (fix(ui): localize the date picker and let the keyboard clear it #3759), is an ancestor of main b2560c2d7d3294993e66129c891be4a059f3d6c4.
    • On that main, the date picker takes its date-fns locale from useDateFnsLocale() (packages/ui/src/hooks/use-date-fns-locale.ts). That hook reads the active i18n language (English, German or French), so the picker follows a language switch.
    • The picker passes that locale to the month caption and to the pickers, so dates, month and weekday names, and day announcements are localized.
    • date-picker.test.tsx pins the live switch: "follows a language switch while it is on screen".

    If something is still missing, reopen this issue and say what.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readybugservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions